Overview

Namespaces

  • Webmozart
    • Console
      • Adapter
      • Api
        • Application
        • Args
          • Format
        • Command
        • Config
        • Event
        • Formatter
        • IO
        • Resolver
      • Args
      • Config
      • Formatter
      • Handler
        • Help
      • IO
        • InputStream
        • OutputStream
      • Process
      • Resolver
      • UI
        • Alignment
        • Component
        • Help
        • Layout
        • Style
      • Util

Classes

  • ConfigEvent
  • ConsoleEvents
  • PreHandleEvent
  • PreResolveEvent
  • Overview
  • Namespace
  • Class

Class ConfigEvent

Dispatched after the configuration is built.

Use this event to add custom configuration to the application.

Symfony\Component\EventDispatcher\Event
Extended by Webmozart\Console\Api\Event\ConfigEvent
Namespace: Webmozart\Console\Api\Event
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at Api/Event/ConfigEvent.php
Methods summary
public
# __construct( Webmozart\Console\Api\Config\ApplicationConfig $config )

Creates the event.

Creates the event.

Parameters

$config
The application configuration.
public Webmozart\Console\Api\Config\ApplicationConfig
# getConfig( )

Returns the application configuration.

Returns the application configuration.

Returns

Webmozart\Console\Api\Config\ApplicationConfig
The application configuration.
Webmozart Console API API documentation generated by ApiGen