메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | Pimple\Container |
public setContainer ( Pimple\Container $pimple ) : void | ||
$pimple | Pimple\Container | |
리턴 | void |