PHP Класс Bldr\Application

Автор: Aaron Scherer ([email protected])
Наследование: extends Symfony\Component\Console\Application, implements Dflydev\EmbeddedComposer\Core\EmbeddedComposerAwareInterface
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$BUILD_NAME string
$logo string

Открытые методы

Метод Описание
__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 ( )

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
buildContainer ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Builds the container with extensions
getBldrVersion ( ) : string
setEnvironmentVariables ( ) Sets Environment Variables

Описание методов

__construct() публичный Метод

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

create() публичный статический Метод

public static create ( Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface $embeddedComposer ) : Application
$embeddedComposer Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface
Результат Application

doRun() публичный Метод

{@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() защищенный Метод

{@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() публичный Метод

Falls back to "run" for a shortcut
public find ( string $name ) : Command
$name string
Результат Symfony\Component\Console\Command\Command

getCommands() публичный Метод

public getCommands ( ) : Command[]
Результат Symfony\Component\Console\Command\Command[]

getDefaultInputDefinition() защищенный Метод

protected getDefaultInputDefinition ( ) : Symfony\Component\Console\Input\InputDefinition
Результат Symfony\Component\Console\Input\InputDefinition

getDefinition() публичный Метод

Resets arguments if shortcutting
public getDefinition ( ) : Symfony\Component\Console\Input\InputDefinition
Результат Symfony\Component\Console\Input\InputDefinition

getEmbeddedComposer() публичный Метод

public getEmbeddedComposer ( ) : Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface
Результат Dflydev\EmbeddedComposer\Core\EmbeddedComposerInterface

getHelp() публичный Метод

{@inheritDoc}
public getHelp ( )

setBuildName() публичный Метод

public setBuildName ( )

Описание свойств

$BUILD_NAME публичное статическое свойство

public static string $BUILD_NAME
Результат string