PHP Class Laravel\SparkInstaller\RegisterCommand

Inheritance: extends Symfony\Component\Console\Command\Command, use trait InteractsWithSparkAPI, use trait InteractsWithSparkConfiguration
Show file Open project: laravel/spark-installer

Public Methods

Method Description
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void Execute the command.

Protected Methods

Method Description
configure ( ) : void Configure the command options.
tokenIsInvalid ( Symfony\Component\Console\Output\OutputInterface $output ) : void Inform the user that the token is invalid.
tokenIsValid ( Symfony\Component\Console\Output\OutputInterface $output ) : void Inform the user that the token is valid.
valid ( string $token ) : boolean Determine if the given token is valid.

Method Details

configure() protected method

Configure the command options.
protected configure ( ) : void
return void

execute() public method

Execute the command.
public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return void

tokenIsInvalid() protected method

Inform the user that the token is invalid.
protected tokenIsInvalid ( Symfony\Component\Console\Output\OutputInterface $output ) : void
$output Symfony\Component\Console\Output\OutputInterface
return void

tokenIsValid() protected method

Inform the user that the token is valid.
protected tokenIsValid ( Symfony\Component\Console\Output\OutputInterface $output ) : void
$output Symfony\Component\Console\Output\OutputInterface
return void

valid() protected method

Determine if the given token is valid.
protected valid ( string $token ) : boolean
$token string
return boolean