MutationRepository
FinalYes
Table of Contents
Methods
- __construct() : mixed
- findAll() : Map<Scope, Map<Disposition, Map<MutationOrigin, MutationCollection>>>
- findByScope() : Map<MutationOrigin, MutationCollection>
Methods
__construct()
public
__construct(Map<Scope, Map<MutationOrigin, MutationCollection>> $staticMutations, SiteFinder $siteFinder, ModelService $modelService, ScopeRepository $scopeRepository, ResolutionRepository $resolutionRepository, DispositionMapFactory $dispositionMapFactory) : mixed
Parameters
- $staticMutations : Map<Scope, Map<MutationOrigin, MutationCollection>>
-
(from DI, declared in
Configuration/ContentSecurityPolicies.php
) - $siteFinder : SiteFinder
- $modelService : ModelService
- $scopeRepository : ScopeRepository
- $resolutionRepository : ResolutionRepository
- $dispositionMapFactory : DispositionMapFactory
findAll()
public
findAll() : Map<Scope, Map<Disposition, Map<MutationOrigin, MutationCollection>>>
Return values
Map<Scope, Map<Disposition, Map<MutationOrigin, MutationCollection>>>findByScope()
public
findByScope(Scope $scope[, Disposition $disposition = Disposition::enforce ]) : Map<MutationOrigin, MutationCollection>
Parameters
- $scope : Scope
- $disposition : Disposition = Disposition::enforce