protected function replacePluginTitle(&$stub, $title) { $stub = str_replace('DummyPluginTitle', $title, $stub); return $this; }