PHP Class Cilex\Provider\Console\Command

Author: Mike van Riel ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
Datei anzeigen Open project: cilex/cilex

Public Methods

Method Description
getContainer ( ) : Application Returns the application container.
getService ( string $name ) : stdClass | null Returns a service contained in the application container or null if none is found with that name.

Method Details

getContainer() public method

Returns the application container.
public getContainer ( ) : Application
return Cilex\Application

getService() public method

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.
See also: self::getContainer()
public getService ( string $name ) : stdClass | null
$name string Name of the service
return stdClass | null