DI\ServiceInterface

Interface Phalcon\DI\ServiceInterface

Phalcon\DI\ServiceInterface initializer

Methods

abstract public string getName ()

Returns the name of the service

abstract public setShared (boolean $shared)

Sets whether the service is shared or not

abstract public boolean isShared ()

Check whether the service is shared or not

abstract public setDefinition (mixed $definition)

Set the service definition

abstract public mixed getDefinition ()

Returns the service definition

登录查看完整内容