PHP Class Bldr\Application

Author: Aaron Scherer ([email protected])
Inheritance: extends Symfony\Component\Console\Application, implements Dflydev\EmbeddedComposer\Core\EmbeddedComposerAwareInterface
Afficher le fichier Open project: bldr-io/bldr Class Usage Examples

Méthodes publiques

Свойство Type Description
$BUILD_NAME string
$logo string

Méthodes publiques

Méthode Description
__construct ( Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface $embeddedComposer )
create ( Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface $embeddedComposer ) : Application
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) {@inheritDoc}
find ( string $name ) : Command Falls back to "run" for a shortcut
getCommands ( ) : Command[]
getDefinition ( ) : Symfony\Component\Console\Input\InputDefinition Resets arguments if shortcutting
getEmbeddedComposer ( ) : Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface
getHelp ( ) {@inheritDoc}
setBuildName ( )

Méthodes protégées

Méthode Description
doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Adds a container to Container Aware Commands
getDefaultInputDefinition ( ) : Symfony\Component\Console\Input\InputDefinition

Private Methods

Méthode Description
buildContainer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Builds the container with extensions
getBldrVersion ( ) : string
setEnvironmentVariables ( ) Sets Environment Variables

Method Details

__construct() public méthode

public __construct ( Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface $embeddedComposer )
$embeddedComposer Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface

create() public static méthode

public static create ( Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface $embeddedComposer ) : Application
$embeddedComposer Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface
Résultat Application

doRun() public méthode

{@inheritDoc}
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

doRunCommand() protected méthode

{@inheritDoc}
protected doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

find() public méthode

Falls back to "run" for a shortcut
public find ( string $name ) : Command
$name string
Résultat Symfony\Component\Console\Command\Command

getCommands() public méthode

public getCommands ( ) : Command[]
Résultat Symfony\Component\Console\Command\Command[]

getDefaultInputDefinition() protected méthode

protected getDefaultInputDefinition ( ) : Symfony\Component\Console\Input\InputDefinition
Résultat Symfony\Component\Console\Input\InputDefinition

getDefinition() public méthode

Resets arguments if shortcutting
public getDefinition ( ) : Symfony\Component\Console\Input\InputDefinition
Résultat Symfony\Component\Console\Input\InputDefinition

getEmbeddedComposer() public méthode

public getEmbeddedComposer ( ) : Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface
Résultat Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface

getHelp() public méthode

{@inheritDoc}
public getHelp ( )

setBuildName() public méthode

public setBuildName ( )

Property Details

$BUILD_NAME public_oe static_oe property

public static string $BUILD_NAME
Résultat string