protected function replacePluginName(&$stub, $pluginName) { $stub = str_replace('DummyPluginName', $pluginName, $stub); return $this; }