Composer\Installers\OxidInstaller
Synopsis
class OxidInstaller
extends BaseInstaller
{
- // constants
- const VENDOR_PATTERN = '/^modules\/(?P<vendor>.+)\/.+/';
- // members
- protected array<string $locations = ;
- // Inherited members from BaseInstaller
- protected array<string $locations;
- protected Composer $composer;
- protected PackageInterface $package;
- protected IOInterface $io;
- // methods
- public void getInstallPath()
- protected void prepareVendorDirectory()
- // Inherited methods from BaseInstaller
- public void __construct()
- public void getInstallPath()
- public array<string inflectPackageVars()
- public array<string getLocations()
- protected void templatePath()
- protected string|false mapCustomInstallPaths()
- protected void pregReplace()
Hierarchy
Constants
Name | Value |
---|---|
VENDOR_PATTERN | '/^modules\/(?P<vendor>.+)\/.+/' |
Members
protected
- $composer — Composer\Composer
- $io — Composer\IO\IOInterface
- $locations — Composer\Installers\array<string
- $locations — Composer\Installers\array<string
- $package — Composer\Package\PackageInterface
Methods
protected
- prepareVendorDirectory() — Makes sure there is a vendormetadata.php file inside the vendor folder if there is a vendor folder.
public
Inherited from Composer\Installers\BaseInstaller
protected
- mapCustomInstallPaths() — Search through a passed paths array for a custom install path.
- pregReplace()
- templatePath() — Replace vars in a path
public
- getInstallPath() — Return the install path based on package type.
- getLocations() — Gets the installer's locations
- inflectPackageVars() — For an installer to override to modify the vars per installer.