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

use SymfonyComponentConsoleCommandCommand;
use 
SymfonyComponentConsoleInputInputInterface;
use 
SymfonyComponentConsoleOutputOutputInterface;

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

    protected function 
configure()
    {
        
$this
            
->setName('foobar:foo')
            ->
setDescription('The foobar:foo command')
        ;
    }

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