Sleimanx2\Plastic\Map\Blueprint::addCommand PHP Method

addCommand() protected method

Add a new command to the blueprint.
protected addCommand ( string $name, array $parameters = [] ) : Illuminate\Support\Fluent
$name string
$parameters array
return Illuminate\Support\Fluent
    protected function addCommand($name, array $parameters = [])
    {
        $this->commands[] = $command = $this->createCommand($name, $parameters);
        return $command;
    }