PHP Класс Puli\Manager\Repository\Mapping\SyncRepositoryPath

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

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

Метод Описание
__construct ( string $repositoryPath, Puli\Repository\Api\EditableRepository $repo, Puli\Manager\Repository\Mapping\PathMappingCollection $mappings, DependencyGraph $overrideGraph )
execute ( )
rollback ( )
takeSnapshot ( ) Records which mappings are currently enabled for the repository path.

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

Метод Описание
add ( $repositoryPath, array $filesystemPaths )
addInOrder ( array $filesystemPaths )
createResource ( $filesystemPath )
filterEnabledMappings ( string $repositoryPath, array &$inMappings, array &$outMappings, array &$processedPaths = [] )
getEnabledFilesystemPaths ( $repositoryPath )
getShortestRepositoryPath ( array $filesystemPathsBefore, array $filesystemPathsAfter )
remove ( $repositoryPath )
replace ( array $filesystemPathsBefore, array $filesystemPathsAfter )
sync ( array $filesystemPathsBefore, array $filesystemPathsAfter )

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

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

public __construct ( string $repositoryPath, Puli\Repository\Api\EditableRepository $repo, Puli\Manager\Repository\Mapping\PathMappingCollection $mappings, DependencyGraph $overrideGraph )
$repositoryPath string
$repo Puli\Repository\Api\EditableRepository
$mappings Puli\Manager\Repository\Mapping\PathMappingCollection
$overrideGraph Puli\Manager\Conflict\DependencyGraph

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

public execute ( )

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

public rollback ( )

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

Records which mappings are currently enabled for the repository path.
public takeSnapshot ( )