프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$componentDir | The location where Components are to be installed. |
메소드 | 설명 | |
---|---|---|
getComponentDir ( ) | Retrieves the Installer's provided component directory. | |
getComponentPath ( Composer\Package\PackageInterface $package ) : string | Gets the destination Component directory. | |
installCode ( Composer\Package\PackageInterface $package ) | Before installing the Component, be sure its destination is clear first. | |
postAutoloadDump ( Composer\Script\Event $event ) | Script callback; Acted on after the autoloader is dumped. | |
removeCode ( Composer\Package\PackageInterface $package ) | Remove both the installed code and files from the Component directory. | |
removeComponent ( Composer\Package\PackageInterface $package ) : boolean | Remove a Component's files from the Component directory. | |
supports ( $packageType ) | {@inheritDoc} |
메소드 | 설명 | |
---|---|---|
initializeVendorDir ( ) | Initialize the Component directory, as well as the vendor directory. |
public getComponentDir ( ) |
public getComponentPath ( Composer\Package\PackageInterface $package ) : string | ||
$package | Composer\Package\PackageInterface | |
리턴 | string | The path to where the final Component should be installed. |
protected initializeVendorDir ( ) |
public installCode ( Composer\Package\PackageInterface $package ) | ||
$package | Composer\Package\PackageInterface |
public static postAutoloadDump ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event |
public removeCode ( Composer\Package\PackageInterface $package ) | ||
$package | Composer\Package\PackageInterface |
public removeComponent ( Composer\Package\PackageInterface $package ) : boolean | ||
$package | Composer\Package\PackageInterface | |
리턴 | boolean |
public supports ( $packageType ) |