메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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 |
리턴 | Neos\Flow\Package\PackageInterface | The newly created package |
public deactivatePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to deactivate |
리턴 | void |
public deletePackage ( string $packageKey ) : void | ||
$packageKey | string | package to delete |
리턴 | void |
public freezePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to freeze |
리턴 | void |
public getActivePackages ( ) : array |
||
리턴 | array |
public getAvailablePackages ( ) : array |
||
리턴 | array |
public getCaseSensitivePackageKey ( string $unknownCasedPackageKey ) : mixed | ||
$unknownCasedPackageKey | string | The package key to convert |
리턴 | mixed | The upper camel cased package key or FALSE if no such package exists |
public getPackage ( string $packageKey ) : Neos\Flow\Package\PackageInterface | ||
$packageKey | string | |
리턴 | Neos\Flow\Package\PackageInterface |
public initialize ( |
||
$bootstrap | The current bootstrap | |
리턴 | void |
public isPackageActive ( string $packageKey ) : boolean | ||
$packageKey | string | The key of the package to check |
리턴 | boolean | TRUE if package is active, otherwise FALSE |
public isPackageAvailable ( string $packageKey ) : boolean | ||
$packageKey | string | The key of the package to check |
리턴 | boolean | TRUE if the package is available, otherwise FALSE |
public isPackageFrozen ( string $packageKey ) : boolean | ||
$packageKey | string | The package to check |
리턴 | boolean |
public isPackageKeyValid ( string $packageKey ) | ||
$packageKey | string | The package key to validate |
public refreezePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to refreeze |
리턴 | void |
public unfreezePackage ( string $packageKey ) : void | ||
$packageKey | string | The package to unfreeze |
리턴 | void |