Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/symfony/console/Tests/Fixtures/Foo1Command.php
Строк: 36
<?php

use SymfonyComponentConsoleCommandCommand;
use 
SymfonyComponentConsoleInputInputInterface;
use 
SymfonyComponentConsoleOutputOutputInterface;

class 
Foo1Command extends Command
{
    public 
$input;
    public 
$output;

    protected function 
configure()
    {
        
$this
            
->setName('foo:bar1')
            ->
setDescription('The foo:bar1 command')
            ->
setAliases(array('afoobar1'))
        ;
    }

    protected function 
execute(InputInterface $inputOutputInterface $output)
    {
        
$this->input $input;
        
$this->output $output;
    }
}
Онлайн: 1
Реклама