ViewTemplate
in package
FinalYes
Table of Contents
Properties
- $aggregation : AggregationInterface|null
- $aggregationResolver : DefaultAggregationProviderInterface|null
- $attributeKeys : array<int, string>
- $description : string|null
- $excludedAttributeKeys : array<int, string>|null
- $includedAttributeKeys : array<int, string>|null
- $name : string|null
Methods
- create() : self
- project() : ViewProjection
- withAggregation() : self
- withAggregationResolver() : self
- Resolves the aggregation per instrument, from its type and advisory parameters. A null result means the reader's default aggregation.
- withAttributeKeyFilter() : self
- Keeps attributes whose key matches an included pattern (any key if `$included` is null) and no excluded pattern. `?` matches one character and `*` any sequence.
- withAttributeKeys() : self
- withDescription() : self
- withName() : self
- __construct() : mixed
Properties
$aggregation
private
AggregationInterface|null
$aggregation
= null
$aggregationResolver
private
DefaultAggregationProviderInterface|null
$aggregationResolver
= null
$attributeKeys
private
array<int, string>
$attributeKeys
= null
$description
private
string|null
$description
= null
$excludedAttributeKeys
private
array<int, string>|null
$excludedAttributeKeys
= null
$includedAttributeKeys
private
array<int, string>|null
$includedAttributeKeys
= null
$name
private
string|null
$name
= null
Methods
create()
public
static create() : self
Return values
selfproject()
public
project(Instrument $instrument) : ViewProjection
Parameters
- $instrument : Instrument
Tags
Return values
ViewProjectionwithAggregation()
public
withAggregation(AggregationInterface|null $aggregation) : self
Parameters
- $aggregation : AggregationInterface|null
Return values
selfwithAggregationResolver()
Resolves the aggregation per instrument, from its type and advisory parameters. A null result means the reader's default aggregation.
public
withAggregationResolver(DefaultAggregationProviderInterface $aggregationResolver) : self
Parameters
- $aggregationResolver : DefaultAggregationProviderInterface
Return values
selfwithAttributeKeyFilter()
Keeps attributes whose key matches an included pattern (any key if `$included` is null) and no excluded pattern. `?` matches one character and `*` any sequence.
public
withAttributeKeyFilter(array<int, string>|null $included, array<int, string>|null $excluded) : self
Parameters
- $included : array<int, string>|null
- $excluded : array<int, string>|null
Return values
selfwithAttributeKeys()
public
withAttributeKeys(array<int, string> $attributeKeys) : self
Parameters
- $attributeKeys : array<int, string>
Return values
selfwithDescription()
public
withDescription(string $description) : self
Parameters
- $description : string
Return values
selfwithName()
public
withName(string $name) : self
Parameters
- $name : string
Return values
self__construct()
private
__construct() : mixed