Method | Description | |
---|---|---|
__construct ( string $name = 'UNKNOWN', string $version = 'UNKNOWN' ) | Constructor | |
getContainer ( ) : Pimple\Container | Get the Container. | |
getService ( string $name ) : mixed | null | Returns a service contained in the application pimple or null if none is found with that name. | |
setContainer ( Pimple\Container $pimple ) : void | Sets a pimple instance onto this application. |
public __construct ( string $name = 'UNKNOWN', string $version = 'UNKNOWN' ) | ||
$name | string | The name of the application |
$version | string | The version of the application |
public getContainer ( ) : Pimple\Container | ||
return | Pimple\Container |
public setContainer ( Pimple\Container $pimple ) : void | ||
$pimple | Pimple\Container | |
return | void |