Cilex\Provider\Console\ContainerAwareApplication::getService PHP Метод

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];
    }