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