PHP Class Pagekit\Application\Console\Application

Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: pagekit/pagekit Class Usage Examples

Protected Properties

Свойство Type Description
$container Pagekit\Application The Pagekit application instance.

Méthodes publiques

Méthode Description
__construct ( Pagekit\Application $container, string $name = 'UNKNOWN', $version = 'UNKNOWN' ) Constructor.
add ( Command $command ) : Command Add a command to the console.
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )

Method Details

__construct() public méthode

Constructor.
public __construct ( Pagekit\Application $container, string $name = 'UNKNOWN', $version = 'UNKNOWN' )
$container Pagekit\Application
$name string

add() public méthode

Add a command to the console.
public add ( Command $command ) : Command
$command Symfony\Component\Console\Command\Command
Résultat Symfony\Component\Console\Command\Command

run() public méthode

public run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Property Details

$container protected_oe property

The Pagekit application instance.
protected Application,Pagekit $container
Résultat Pagekit\Application