Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Cilex
Provider
Console
Command
getService
Cilex\Provider\Console\Command::getService PHP Метод
Документация по классу Command
Показать файл
Открыть проект
getService()
публичный
Метод
This is a convenience method used to retrieve an element from the Application container without having to assign the results of the getContainer() method in every call.
См. также:
self::getContainer()
public
getService
(
string
$name
) :
stdClass |
null
$name
string
Name of the service
Результат
stdClass |
null
public function getService($name) { return $this->getApplication()->getService($name); }
Command
getContainer
getService