Interface **Phalcon\\DiInterface** ================================== *implements* `ArrayAccess `_ .. role:: raw-html(raw) :format: html :raw-html:`Source on GitHub` Methods ------- abstract public **set** (*mixed* $name, *mixed* $definition, [*mixed* $shared]) ... abstract public **setShared** (*mixed* $name, *mixed* $definition) ... abstract public **remove** (*mixed* $name) ... abstract public **attempt** (*mixed* $name, *mixed* $definition, [*mixed* $shared]) ... abstract public **get** (*mixed* $name, [*mixed* $parameters]) ... abstract public **getShared** (*mixed* $name, [*mixed* $parameters]) ... abstract public **setRaw** (*mixed* $name, :doc:`Phalcon\\Di\\ServiceInterface ` $rawDefinition) ... abstract public **getRaw** (*mixed* $name) ... abstract public **getService** (*mixed* $name) ... abstract public **has** (*mixed* $name) ... abstract public **wasFreshInstance** () ... abstract public **getServices** () ... abstract public static **setDefault** (:doc:`Phalcon\\DiInterface ` $dependencyInjector) ... abstract public static **getDefault** () ... abstract public static **reset** () ... abstract public **offsetExists** (*mixed* $offset) inherited from `ArrayAccess `_ ... abstract public **offsetGet** (*mixed* $offset) inherited from `ArrayAccess `_ ... abstract public **offsetSet** (*mixed* $offset, *mixed* $value) inherited from `ArrayAccess `_ ... abstract public **offsetUnset** (*mixed* $offset) inherited from `ArrayAccess `_ ...