PHP Class Flarum\Console\Command\AbstractCommand

Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: flarum/core Class Usage Examples

Protected Properties

Свойство Type Description
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Méthodes protégées

Méthode Description
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.

Method Details

execute() protected méthode

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() abstract protected méthode

Fire the command.
abstract protected fire ( )

hasOption() protected méthode

Did the user pass the given option?
protected hasOption ( string $name ) : boolean
$name string
Résultat boolean

info() protected méthode

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

Property Details

$input protected_oe property

protected InputInterface,Symfony\Component\Console\Input $input
Résultat Symfony\Component\Console\Input\InputInterface

$output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $output
Résultat Symfony\Component\Console\Output\OutputInterface