protected function renameVendor($string) { return str_replace('\\' . $this->extension->getOriginalVendorName() . '\\', '\\' . $this->extension->getVendorName() . '\\', $string); }