const VENDOR_PATTERN = '/^modules\/(?P<vendor>.+)\/.+/';
/** @var array<string, string> */
protected $locations = array
( 'module' => 'modules/{$name}/',
'theme' => 'application/views/{$name}/',
'out' => 'out/{$name}/',
);
public function getInstallPath(PackageInterface
$package, string
$frameworkType = ''
): string
{ $installPath = parent::
getInstallPath($package,
$frameworkType);
$type =
$this->package->
getType();
if ($type === 'oxid-module'
) { $this->
prepareVendorDirectory($installPath);
} return $installPath;
} /**
* Makes sure there is a vendormetadata.php file inside
* the vendor folder if there is a vendor folder.
*/