Class **Phalcon\\DI\\Service** ============================== *implements* :doc:`Phalcon\\DI\\ServiceInterface ` Represents individually a service in the services container .. code-block:: php resolve(); .. code-block:: php ` $dependencyInjector]) Resolves the service public :doc:`Phalcon\\DI\\Service ` **setParameter** (*long* $position, *array* $parameter) Changes a parameter in the definition without resolve the service public *array* **getParameter** (*int* $position) Returns a parameter in a specific position public *bool* **isResolved** () Returns true if the service was resolved public static :doc:`Phalcon\\DI\\Service ` **__set_state** ([*unknown* $properties]) Restore the internal state of a service