PHP Class Yosymfony\Spress\Plugin\Environment\SymfonyCommandEnvironment

Author: Victor Puertas ([email protected])
Inheritance: implements Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface
Afficher le fichier Open project: spress/spress Class Usage Examples

Protected Properties

Свойство Type Description
$output
$symfonyCommand

Méthodes publiques

Méthode Description
__construct ( Command $symfonyCommand, Symfony\Component\Console\Output\OutputInterface $output ) Constructor.
hasCommand ( $name )
runCommand ( $commandName, array $arguments )

Méthodes protégées

Méthode Description
getSymfonyConsoleApplication ( ) : Symfony\Component\Console\Application Gets the Symfony Console application.

Method Details

__construct() public méthode

Constructor.
public __construct ( Command $symfonyCommand, Symfony\Component\Console\Output\OutputInterface $output )
$symfonyCommand Symfony\Component\Console\Command\Command The Symfony Console command
$output Symfony\Component\Console\Output\OutputInterface The output

getSymfonyConsoleApplication() protected méthode

Gets the Symfony Console application.
protected getSymfonyConsoleApplication ( ) : Symfony\Component\Console\Application
Résultat Symfony\Component\Console\Application The Symfony Console application

hasCommand() public méthode

public hasCommand ( $name )

runCommand() public méthode

public runCommand ( $commandName, array $arguments )
$arguments array

Property Details

$output protected_oe property

protected $output

$symfonyCommand protected_oe property

protected $symfonyCommand