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 an specific position public static :doc:`Phalcon\\DI\\Service ` **__set_state** (*array* $attributes) Restore the internal state of a service