/** * Populate the place-holders in the migration stub. * * @param string $name * @param string $stub * @param string $table * @return string */ protected function populateStub($name, $stub, $table) { $stub = parent::populateStub($name, $stub, $table); return str_replace('{{column}}', $this->column, $stub); }
protected function populateStub($name, $stub, $table) { $stub = str_replace('DummyKey', str_singular($table), parent::populateStub($name, $stub, $table)); return $stub; }