PHP 클래스 Puli\Manager\Repository\RepositoryManagerImpl

부터: 1.0
저자: Bernhard Schussek ([email protected])
상속: implements Puli\Manager\Api\Repository\RepositoryManager
파일 보기 프로젝트 열기: puli/manager 1 사용 예제들

공개 메소드들

메소드 설명
__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