Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cilex
Provider
Console
ContainerAwareApplication
getService
Cilex\Provider\Console\ContainerAwareApplication::getService PHP 메소드
ContainerAwareApplication 1 문서
파일 보기
프로젝트 열기: cilex/cilex
getService()
공개
메소드
This is a convenience method used to retrieve an element from the Application pimple without having to assign the results of the getContainer() method in every call.
또한 보기:
self::getContainer()
public
getService
(
string
$name
) :
mixed
|
null
$name
string
Name of the service.
리턴
mixed
|
null
public function getService($name) { return $this->pimple[$name]; }
ContainerAwareApplication
__construct
getContainer
getService
setContainer