DI\FactoryDefault\CLI

Class Phalcon\DI\FactoryDefault\CLI

extends class Phalcon\DI\FactoryDefault

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. This class is specially suitable for CLI applications

Methods

public __construct ()

Phalcon\DI\FactoryDefault\CLI constructor

public Phalcon\DI\ServiceInterface set (string $name, mixed