DI\FactoryDefault

Class Phalcon\DI\FactoryDefault

extends class Phalcon\DI

implements Phalcon\DiInterface

This is a variant of the standard Phalcon\DI. By default it automatically registers all the services provided by the framework. Thanks to this, the developer does not need to register each service individually providing a full stack framework

Methods

public __construct ()

Phalcon\DI\FactoryDefault constructor

public Phalcon\DI\ServiceInterface set (string $name, mixed $definition, [boolean $shared]) inherited