Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kahlan
Box
Box
service
Kahlan\Box\Box::service PHP Метод
Документация по классу Box
Показать файл
Открыть проект
service()
публичный
Метод
Defining a service (i.e. singleton).
public
service
(
$name
,
mixed
$definition
)
$definition
mixed
The variable to share.
public function service($name, $definition) { $this->_set($name, $definition, 'service'); }
Box
__construct
_factory
_service
_set
clear
factory
get
has
remove
service
wrap