DiInterface
Interface Phalcon\DiInterface
extends ArrayAccess
Phalcon\DiInterface initializer
Methods
abstract public Phalcon\DI\ServiceInterface set (string $name, mixed $definition, [boolean $shared])
Registers a service in the service container
abstract public remove (string $name)
Removes a service from the service container
abstract public object get (string $name, [array $parameters])
Resolves the service based on its configuration