CriteriaViewRegistry
in package
implements
ViewRegistryInterface
FinalYes
Table of Contents
Interfaces
Properties
- $criteria : array<int, SelectionCriteriaInterface>
- $views : array<int, ViewTemplate>
Methods
- find() : iterable<string|int, ViewProjection>|null
- register() : void
- generateViews() : Generator
Properties
$criteria
private
array<int, SelectionCriteriaInterface>
$criteria
= []
$views
private
array<int, ViewTemplate>
$views
= []
Methods
find()
public
find(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope) : iterable<string|int, ViewProjection>|null
Parameters
- $instrument : Instrument
- $instrumentationScope : InstrumentationScopeInterface
Tags
Return values
iterable<string|int, ViewProjection>|nullregister()
public
register(SelectionCriteriaInterface $criteria, ViewTemplate $view) : void
Parameters
- $criteria : SelectionCriteriaInterface
- $view : ViewTemplate
generateViews()
private
generateViews(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope) : Generator
Parameters
- $instrument : Instrument
- $instrumentationScope : InstrumentationScopeInterface