PHP Класс Puli\Manager\Repository\RepositoryManagerImpl

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Наследование: implements Puli\Manager\Api\Repository\RepositoryManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Puli\Manager\Api\Context\ProjectContext $context, Puli\Repository\Api\EditableRepository $repo, ModuleList $modules, JsonStorage $jsonStorage ) Creates a repository manager.
addRootPathMapping ( PathMapping $mapping, $flags )
buildRepository ( )
clearRepository ( )
clearRootPathMappings ( )
findPathMappings ( Webmozart\Expression\Expression $expr )
findRootPathMappings ( Webmozart\Expression\Expression $expr )
getContext ( )
getPathConflicts ( )
getPathMapping ( $repositoryPath, $moduleName )
getPathMappings ( )
getRepository ( )
getRootPathMapping ( $repositoryPath )
getRootPathMappings ( )
hasPathMapping ( $repositoryPath, $moduleName )
hasPathMappings ( Webmozart\Expression\Expression $expr = null )
hasRootPathMapping ( $repositoryPath )
hasRootPathMappings ( Webmozart\Expression\Expression $expr = null )
removeRootPathMapping ( $repositoryPath )
removeRootPathMappings ( Webmozart\Expression\Expression $expr )

Приватные методы

Метод Описание
addPathMappingToModuleFile ( PathMapping $mapping )
assertMappingsLoaded ( )
assertNoLoadErrors ( PathMapping $mapping )
loadPathMapping ( PathMapping $mapping, Puli\Manager\Api\Module\Module $module )
loadPathMappings ( )
overrideConflictingModules ( PathMapping $mapping )
populateRepository ( )
removePathMappingFromModuleFile ( $repositoryPath )
removeResolvedConflicts ( )
saveRootModuleFile ( )
syncRepositoryPath ( $repositoryPath )
unloadPathMapping ( PathMapping $mapping )
updateConflicts ( array $repositoryPaths = [] )

Описание методов

__construct() публичный Метод

Creates a repository manager.
public __construct ( Puli\Manager\Api\Context\ProjectContext $context, Puli\Repository\Api\EditableRepository $repo, ModuleList $modules, JsonStorage $jsonStorage )
$context Puli\Manager\Api\Context\ProjectContext
$repo Puli\Repository\Api\EditableRepository
$modules Puli\Manager\Api\Module\ModuleList
$jsonStorage Puli\Manager\Json\JsonStorage

addRootPathMapping() публичный Метод

public addRootPathMapping ( PathMapping $mapping, $flags )
$mapping Puli\Manager\Api\Repository\PathMapping

buildRepository() публичный Метод

public buildRepository ( )

clearRepository() публичный Метод

public clearRepository ( )

clearRootPathMappings() публичный Метод

findPathMappings() публичный Метод

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

findRootPathMappings() публичный Метод

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

getContext() публичный Метод

public getContext ( )

getPathConflicts() публичный Метод

public getPathConflicts ( )

getPathMapping() публичный Метод

public getPathMapping ( $repositoryPath, $moduleName )

getPathMappings() публичный Метод

public getPathMappings ( )

getRepository() публичный Метод

public getRepository ( )

getRootPathMapping() публичный Метод

public getRootPathMapping ( $repositoryPath )

getRootPathMappings() публичный Метод

public getRootPathMappings ( )

hasPathMapping() публичный Метод

public hasPathMapping ( $repositoryPath, $moduleName )

hasPathMappings() публичный Метод

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

hasRootPathMapping() публичный Метод

public hasRootPathMapping ( $repositoryPath )

hasRootPathMappings() публичный Метод

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

removeRootPathMapping() публичный Метод

public removeRootPathMapping ( $repositoryPath )

removeRootPathMappings() публичный Метод

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