PHP Class Puli\Manager\Installer\ModuleFileInstallerManager

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Puli\Manager\Api\Installer\InstallerManager
Show file Open project: puli/manager

Public Methods

Method Description
__construct ( Puli\Manager\Api\Module\RootModuleFileManager $rootModuleFileManager, ModuleList $modules )
addRootInstallerDescriptor ( Puli\Manager\Api\Installer\InstallerDescriptor $descriptor )
clearRootInstallerDescriptors ( )
findInstallerDescriptors ( Webmozart\Expression\Expression $expr )
findRootInstallerDescriptors ( Webmozart\Expression\Expression $expr )
getInstallerDescriptor ( $name )
getInstallerDescriptors ( )
getRootInstallerDescriptor ( $name )
getRootInstallerDescriptors ( )
hasInstallerDescriptor ( $name )
hasInstallerDescriptors ( Webmozart\Expression\Expression $expr = null )
hasRootInstallerDescriptor ( $name )
hasRootInstallerDescriptors ( Webmozart\Expression\Expression $expr = null )
removeRootInstallerDescriptor ( $name )
removeRootInstallerDescriptors ( Webmozart\Expression\Expression $expr )

Private Methods

Method Description
assertInstallersLoaded ( )
dataToInstaller ( $installerName, stdClass $installerData )
dataToParameter ( $parameterName, stdClass $parameterData )
dataToParameters ( stdClass $parametersData )
installerToData ( Puli\Manager\Api\Installer\InstallerDescriptor $installer ) : stdClass Extracting an object containing the data from an installer descriptor.
loadInstallers ( Puli\Manager\Api\Module\Module $module )
parameterToData ( Puli\Manager\Api\Installer\InstallerParameter $parameter )
parametersToData ( array $parameters ) : array
persistInstallersData ( )

Method Details

__construct() public method

public __construct ( Puli\Manager\Api\Module\RootModuleFileManager $rootModuleFileManager, ModuleList $modules )
$rootModuleFileManager Puli\Manager\Api\Module\RootModuleFileManager
$modules Puli\Manager\Api\Module\ModuleList

addRootInstallerDescriptor() public method

public addRootInstallerDescriptor ( Puli\Manager\Api\Installer\InstallerDescriptor $descriptor )
$descriptor Puli\Manager\Api\Installer\InstallerDescriptor

clearRootInstallerDescriptors() public method

findInstallerDescriptors() public method

public findInstallerDescriptors ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

findRootInstallerDescriptors() public method

public findRootInstallerDescriptors ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression

getInstallerDescriptor() public method

public getInstallerDescriptor ( $name )

getInstallerDescriptors() public method

getRootInstallerDescriptor() public method

public getRootInstallerDescriptor ( $name )

getRootInstallerDescriptors() public method

hasInstallerDescriptor() public method

public hasInstallerDescriptor ( $name )

hasInstallerDescriptors() public method

public hasInstallerDescriptors ( Webmozart\Expression\Expression $expr = null )
$expr Webmozart\Expression\Expression

hasRootInstallerDescriptor() public method

public hasRootInstallerDescriptor ( $name )

hasRootInstallerDescriptors() public method

public hasRootInstallerDescriptors ( Webmozart\Expression\Expression $expr = null )
$expr Webmozart\Expression\Expression

removeRootInstallerDescriptor() public method

removeRootInstallerDescriptors() public method

public removeRootInstallerDescriptors ( Webmozart\Expression\Expression $expr )
$expr Webmozart\Expression\Expression