Method |
Description |
|
boot ( Bootstrap $bootstrap ) : void |
Invokes custom PHP code directly after the package manager has been initialized. |
|
getClassFiles ( ) : array |
Returns the array of filenames of the class files |
|
getComposerManifest ( string $key = null ) : mixed |
Returns the composer manifest of this package or
just contents of a specific key of the full configuration. |
|
getComposerName ( ) : string |
Returns the composer name of this package. |
|
getConfigurationPath ( ) : string |
Returns the full path to this package's Configuration directory |
|
getInstalledVersion ( ) : string |
Returns the currently installed version of this package. |
|
getNamespaces ( ) : array |
Returns an array of all namespaces declared for this package. |
|
getPackageKey ( ) : string |
Returns the package key of this package. |
|
getPackagePath ( ) : string |
Returns the full path to this package's main directory |
|
getResourcesPath ( ) : string |
Returns the full path to this package's Resources directory |
|
isObjectManagementEnabled ( ) : boolean |
Tells if files in the Classes directory should be registered and object management enabled for this package. |
|
isProtected ( ) : boolean |
Tells if this package is protected and therefore cannot be deactivated or deleted |
|
setProtected ( boolean $protected ) : void |
Sets the protection flag of the package |
|