PHP Класс Flarum\Console\Command\AbstractCommand

Наследование: extends Symfony\Component\Console\Command\Command
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

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

Метод Описание
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
fire ( ) Fire the command.
hasOption ( string $name ) : boolean Did the user pass the given option?
info ( string $string ) Send an info string to the user.

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

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

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

fire() абстрактный защищенный Метод

Fire the command.
abstract protected fire ( )

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

Did the user pass the given option?
protected hasOption ( string $name ) : boolean
$name string
Результат boolean

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

Send an info string to the user.
protected info ( string $string )
$string string

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

$input защищенное свойство

protected InputInterface,Symfony\Component\Console\Input $input
Результат Symfony\Component\Console\Input\InputInterface

$output защищенное свойство

protected OutputInterface,Symfony\Component\Console\Output $output
Результат Symfony\Component\Console\Output\OutputInterface