public function table($table_name)
    {
        $table_name = trim($table_name);

        if (is_null($table_name)) {
            $this->throwFailsCommand('Specify the seeder table name', 'help seed');
        }

        if (!file_exists($this->setting->getSeederDirectory()."/{$table_name}_seeder.php")) {
            echo Color::red("Seeder $table_name not exists.");

            exit(1);
        }

        $this->make([
            $this->setting->getSeederDirectory()."/{$table_name}_seeder.php"
        ]);
    }
public function table($table_name)
    {
        $table_name = trim($table_name);

        if (is_null($table_name)) {
            $this->throwFailsCommand('Specify the seeder table name', 'help seed');
        }

        if (!file_exists($this->setting->getSeederDirectory()."/{$table_name}_seeder.php")) {
            echo Color::red("Seeder $table_name not exists.");

            exit(1);
        }

        $this->make([
            $this->setting->getSeederDirectory()."/{$table_name}_seeder.php"
        ]);
    }
public function table ( $ table_name ) { $ table_name = trim ( $ table_name ) ; if ( is_null ( $ table_name ) ) { $ this -> throwFailsCommand ( 'Specify the seeder table name' , 'help seed' ) ; } if ( ! file_exists ( $ this -> setting -> getSeederDirectory ( ) . "/{$table_name}_seeder.php" ) ) { echo Color :: red ( "Seeder $table_name not exists." ) ; exit ( 1 ) ; } $ this -> make ( [ $ this -> setting -> getSeederDirectory ( ) . "/{$table_name}_seeder.php" ] ) ; }
Launch targeted seeding

@param string $table_name

@return void
Launch targeted seeding