public offsetGet (mixed $name) Allows to obtain a shared service using the array syntax var_dump($di["request"]);
public static reset () Resets the internal default DI
public boolean offsetSet (string $name, mixed $definition) Allows to register a shared service using the array syntax $di["request"] = new \Phalcon\Http\Request();
public set (mixed $name, mixed $definition, [mixed $shared]) Registers a service in the services container
public offsetUnset (mixed $name) Removes a service from the services container using the array syntax
public remove (mixed $name) Removes a service in the services container It also removes any shared instance created for the service
public get (mixed $name, [mixed $parameters]) Resolves the service based on its configuration
public getRaw (mixed $name) Returns a service definition without resolving
public static getDefault () Return the latest DI created
public attempt (mixed $name, mixed $definition, [mixed $shared]) Attempts to register a service in the services container Only is successful if a service hasn’t been registered previously with the same name
Page 278 of 382