protected function initializeVendorDir() { $this->componentDir = $this->getComponentDir(); $this->filesystem->ensureDirectoryExists($this->componentDir); parent::initializeVendorDir(); }