Méthode | Description | |
---|---|---|
getPackagesData ( string $packagesPath ) : array | Will return an array with all available packages. | |
readComposerManifest ( string $pathAndFileName ) : array | Read the package manifest from the composer.json file at $pathAndFileName | |
searchAndReplace ( string $search, string | Closure $replace, string $pathAndFilename, boolean $regularExpression = false ) : boolean | null | Does a search and replace operation on the given file. | |
writeComposerManifest ( array $manifest, string $pathAndFilename ) : void | Write the manifest to the given file. |
Méthode | Description | |
---|---|---|
readPackageMetaData ( string $pathAndFileName ) : array | null | Read the package metadata from the Package.xml file at $pathAndFileName |
public static getPackagesData ( string $packagesPath ) : array | ||
$packagesPath | string | |
Résultat | array |
public static readComposerManifest ( string $pathAndFileName ) : array | ||
$pathAndFileName | string | |
Résultat | array |
public static searchAndReplace ( string $search, string | Closure $replace, string $pathAndFilename, boolean $regularExpression = false ) : boolean | null | ||
$search | string | |
$replace | string | Closure | |
$pathAndFilename | string | |
$regularExpression | boolean | |
Résultat | boolean | null | FALSE on errors, NULL on skip, TRUE on success |