protected function replacePrimaryKey(&$stub, $primaryKey) { $stub = str_replace('{{primaryKey}}', $primaryKey, $stub); return $this; }