/** * Run the database seeds. * * @return void */ public function run() { $stages = ['Just starting out', 'Some market research done', 'Business plan/model done', 'Landing page done', 'Wireframes done', 'Prototype done', 'Pitched to Investors', 'Generated Revenue']; foreach ($stages as $stageName) { $stage = Stage::create(['name' => $stageName]); $stage->save(); } }
/** * Stores Stage into database * * @param array $input * * @return Stage */ public function store($input) { return Stage::create($input); }