Method | Description | |
---|---|---|
activatePackage ( string $packageKey ) : void | Activates a package | |
createPackage ( string $packageKey, array $manifest = [], string $packagesPath = null ) : Neos\Flow\Package\PackageInterface | Create a new package, given the package key | |
deactivatePackage ( string $packageKey ) : void | Deactivates a package if it is in the list of active packages | |
deletePackage ( string $packageKey ) : void | Removes a package from registry and deletes it from filesystem | |
freezePackage ( string $packageKey ) : void | Freezes a package | |
getActivePackages ( ) : array |
Returns an array of PackageInterface objects of all active packages. | |
getAvailablePackages ( ) : array |
Returns an array of PackageInterface objects of all available packages. | |
getCaseSensitivePackageKey ( string $unknownCasedPackageKey ) : mixed | Returns the upper camel cased version of the given package key or FALSE if no such package is available. | |
getFilteredPackages ( string $packageState = 'available', string $packagePath = null, string $packageType = null ) : array |
Returns an array of PackageInterface objects of all packages that match the given package state, path, and type filters. All three filters must match, if given. | |
getPackage ( string $packageKey ) : Neos\Flow\Package\PackageInterface | Returns a PackageInterface object for the specified package. | |
initialize ( |
Initializes the package manager | |
isPackageActive ( string $packageKey ) : boolean | Returns TRUE if a package is activated or FALSE if it's not. | |
isPackageAvailable ( string $packageKey ) : boolean | Returns TRUE if a package is available (the package's files exist in the packages directory) or FALSE if it's not. If a package is available it doesn't mean necessarily that it's active! | |
isPackageFrozen ( string $packageKey ) : boolean | Tells if a package is frozen | |
isPackageKeyValid ( string $packageKey ) | Check the conformance of the given package key | |
refreezePackage ( string $packageKey ) : void | Refreezes a package | |
unfreezePackage ( string $packageKey ) : void | Unfreezes a package |
public activatePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to activate |
return | void |
public createPackage ( string $packageKey, array $manifest = [], string $packagesPath = null ) : Neos\Flow\Package\PackageInterface | ||
$packageKey | string | The package key to use for the new package |
$manifest | array | composer manifest data |
$packagesPath | string | If specified, the package will be created in this path |
return | Neos\Flow\Package\PackageInterface | The newly created package |
public deactivatePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to deactivate |
return | void |
public deletePackage ( string $packageKey ) : void | ||
$packageKey | string | package to delete |
return | void |
public freezePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to freeze |
return | void |
public getActivePackages ( ) : array |
||
return | array |
public getAvailablePackages ( ) : array |
||
return | array |
public getCaseSensitivePackageKey ( string $unknownCasedPackageKey ) : mixed | ||
$unknownCasedPackageKey | string | The package key to convert |
return | mixed | The upper camel cased package key or FALSE if no such package exists |
public getPackage ( string $packageKey ) : Neos\Flow\Package\PackageInterface | ||
$packageKey | string | |
return | Neos\Flow\Package\PackageInterface |
public initialize ( |
||
$bootstrap | The current bootstrap | |
return | void |
public isPackageActive ( string $packageKey ) : boolean | ||
$packageKey | string | The key of the package to check |
return | boolean | TRUE if package is active, otherwise FALSE |
public isPackageAvailable ( string $packageKey ) : boolean | ||
$packageKey | string | The key of the package to check |
return | boolean | TRUE if the package is available, otherwise FALSE |
public isPackageFrozen ( string $packageKey ) : boolean | ||
$packageKey | string | The package to check |
return | boolean |
public isPackageKeyValid ( string $packageKey ) | ||
$packageKey | string | The package key to validate |
public refreezePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to refreeze |
return | void |
public unfreezePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to unfreeze |
return | void |