src/Way/Generators/Commands/ResourceGeneratorCommand.php
protected function callSeeder($resource)
    {
        $tableName = str_plural($this->getModelName($resource));

        if ($this->confirm("Would you like a '$tableName' table seeder? [yes|no]"))
        {
            $this->call('generate:seed', compact('tableName'));
        }
    }
protected function callSeeder($resource)
    {
        $tableName = str_plural($this->getModelName($resource));

        if ($this->confirm("Would you like a '$tableName' table seeder? [yes|no]"))
        {
            $this->call('generate:seed', compact('tableName'));
        }
    }
protected function callSeeder ( $ resource ) { $ tableName = str_plural ( $ this -> getModelName ( $ resource ) ) ; if ( $ this -> confirm ( "Would you like a '$tableName' table seeder? [yes|no]" ) ) { $ this -> call ( 'generate:seed' , compact ( 'tableName' ) ) ; } }
Call seeder generator if user confirms

@param $resource
Call seeder generator if user confirms