public offsetExists (mixed $name) Check if a service is registered using the array syntax
public setShared (mixed $name, mixed $definition) Registers an “always shared” service in the services container
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
public attempt (mixed $name, mixed $definition, [mixed $shared]) Attempts to register a service
public boolean offsetSet (string $name, mixed $definition) Allows to register a shared service using
public getService (mixed $name) Returns a Phalcon\Di\Service instance
public mixed getShared (string $name, [array $parameters]) Resolves a service, the resolved service
public __call (string $method, [array $arguments]) Magic method to get or set services using setters/getters
public wasFreshInstance () Check whether the last service obtained via getShared produced a fresh instance or an existing one
Page 1 of 3