Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Cilex
Provider
Console
ContainerAwareApplication
getService
Cilex\Provider\Console\ContainerAwareApplication::getService PHP Method
ContainerAwareApplication Class Documentation
Mostrar archivo
Open project: cilex/cilex
getService()
public
method
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.
See also:
self::getContainer()
public
getService
(
string
$name
) :
mixed
|
null
$name
string
Name of the service.
return
mixed
|
null
public function getService($name) { return $this->pimple[$name]; }
ContainerAwareApplication
__construct
getContainer
getService
setContainer