protected addCommand ( string $name, array $parameters = [] ) : Illuminate\Support\Fluent | ||
$name | string | |
$parameters | array | |
리턴 | Illuminate\Support\Fluent |
protected function addCommand($name, array $parameters = [])
{
$this->commands[] = $command = $this->createCommand($name, $parameters);
return $command;
}