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
Afficher le fichier Open project: webmozart/console Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ApplicationConfig $config ) Creates the event.
getConfig ( ) : ApplicationConfig Returns the application configuration.

Method Details

__construct() public méthode

Creates the event.
public __construct ( ApplicationConfig $config )
$config Webmozart\Console\Api\Config\ApplicationConfig The application configuration.

getConfig() public méthode

Returns the application configuration.
public getConfig ( ) : ApplicationConfig
Résultat Webmozart\Console\Api\Config\ApplicationConfig The application configuration.