PHP Class Webmozart\Console\Api\Event\ConfigEvent

Use this event to add custom configuration to the application.
Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends Symfony\Component\EventDispatcher\Event
Mostra 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

Creates the event.
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.