Class **Phalcon\\Di\\Service** ============================== *implements* :doc:`Phalcon\\Di\\ServiceInterface ` .. role:: raw-html(raw) :format: html :raw-html:`Source on GitHub` Represents individually a service in the services container .. code-block:: php resolve(); .. code-block:: php ` $dependencyInjector]) Resolves the service public **setParameter** (*unknown* $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 **isResolved** () Returns true if the service was resolved public static **__set_state** (*array* $attributes) Restore the internal state of a service