public setSharedInstance (mixed $sharedInstance) Sets/Resets the shared instance related to the service
extends class Phalcon\Exception
extends class Phalcon\Di\FactoryDefault
Source
public set (mixed $name, mixed $definition, [mixed $shared]) Registers a service in the services
public offsetGet (mixed $name) Allows to obtain a shared service using the array syntax
abstract public static __set_state (array $attributes) ...
public getName () Returns the service’s name
public attempt (mixed $name, mixed $definition, [mixed $shared]) Attempts to register a service
Page 2 of 6