PHP Class Webmozart\Console\Adapter\ApplicationAdapter

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends Symfony\Component\Console\Application
Show file Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
__construct ( Webmozart\Console\Api\Application\Application $application ) Creates the application.
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
find ( $name )
getAdaptedApplication ( ) : Webmozart\Console\Api\Application\Application

Protected Methods

Method Description
getCommandName ( Symfony\Component\Console\Input\InputInterface $input )
getDefaultCommands ( )
getDefaultHelperSet ( )
getDefaultInputDefinition ( )

Method Details

__construct() public method

Creates the application.
public __construct ( Webmozart\Console\Api\Application\Application $application )
$application Webmozart\Console\Api\Application\Application

doRun() public method

public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

find() public method

public find ( $name )

getAdaptedApplication() public method

public getAdaptedApplication ( ) : Webmozart\Console\Api\Application\Application
return Webmozart\Console\Api\Application\Application

getCommandName() protected method

protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

getDefaultCommands() protected method

protected getDefaultCommands ( )

getDefaultHelperSet() protected method

protected getDefaultHelperSet ( )

getDefaultInputDefinition() protected method