public remove (mixed $name) Removes a service in the services container It also removes any shared instance created for the service
public offsetUnset (mixed $name) Removes a service from the services container using the array syntax
public boolean offsetSet (string $name, mixed $definition) Allows to register a shared service using the array syntax $di["request"] = new \Phalcon\Http\Request();
public offsetGet (mixed $name) Allows to obtain a shared service using the array syntax var_dump($di["request"]);
public offsetExists (mixed $name) Check if a service is registered using the array syntax
public has (mixed $name) Check whether the DI contains a service by a name
public mixed getShared (string $name, [array $parameters]) Resolves a service, the resolved service is stored in the DI, subsequent requests for this service will return the same instance
public getServices () Return the services registered in the DI
public getService (mixed $name) Returns a Phalcon\Di\Service instance
public getRaw (mixed $name) Returns a service definition without resolving
Page 278 of 382