implements Phalcon\Di\ServiceInterface
Represents individually a service in the services container
$service = new \Phalcon\Di\Service('request', 'Phalcon\Http\Request'); $request = service->resolve();
Returns the service’s name
Sets if the service is shared or not
Check whether the service is shared or not
Sets/Resets the shared instance related to the service
Set the service definition
Returns the service definition
Resolves the service
Changes a parameter in the definition without resolve the service
Returns a parameter in a specific position
Returns true if the service was resolved
Restore the internal state of a service
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Di_Service.html