PHP Class Webmozart\Console\Config\DefaultApplicationConfig

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends Webmozart\Console\Api\Config\ApplicationConfig
Show file Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
createIO ( Webmozart\Console\Api\Application\Application $application, Webmozart\Console\Api\Args\RawArgs $args, Webmozart\Console\Api\IO\InputStream $inputStream = null, Webmozart\Console\Api\IO\OutputStream $outputStream = null, Webmozart\Console\Api\IO\OutputStream $errorStream = null )
printVersion ( PreHandleEvent $event )
resolveHelpCommand ( PreResolveEvent $event )

Protected Methods

Method Description
configure ( )

Method Details

configure() protected method

protected configure ( )

createIO() public method

public createIO ( Webmozart\Console\Api\Application\Application $application, Webmozart\Console\Api\Args\RawArgs $args, Webmozart\Console\Api\IO\InputStream $inputStream = null, Webmozart\Console\Api\IO\OutputStream $outputStream = null, Webmozart\Console\Api\IO\OutputStream $errorStream = null )
$application Webmozart\Console\Api\Application\Application
$args Webmozart\Console\Api\Args\RawArgs
$inputStream Webmozart\Console\Api\IO\InputStream
$outputStream Webmozart\Console\Api\IO\OutputStream
$errorStream Webmozart\Console\Api\IO\OutputStream

printVersion() public method

public printVersion ( PreHandleEvent $event )
$event Webmozart\Console\Api\Event\PreHandleEvent

resolveHelpCommand() public method

public resolveHelpCommand ( PreResolveEvent $event )
$event Webmozart\Console\Api\Event\PreResolveEvent