PHP Class Webmozart\Console\Api\Event\ConfigEvent
Use this event to add custom configuration to the application.
Show file
Open project: webmozart/console
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( ApplicationConfig $config ) |
Creates the event. |
|
getConfig ( ) : ApplicationConfig |
Returns the application configuration. |
|
Method Details
__construct()
public method
public __construct ( ApplicationConfig $config ) |
$config |
Webmozart\Console\Api\Config\ApplicationConfig |
The application configuration. |
getConfig()
public method
Returns the application configuration.
public getConfig ( ) : ApplicationConfig |
return |
Webmozart\Console\Api\Config\ApplicationConfig |
The application configuration. |