ReferenceMapInterface
in
A collection of references
Table of Contents
- addReference() : void
- contains() : bool
- getReference() : ReferenceInterface|null
- listReferences() : array<string|int, ReferenceInterface>
- Lists all registered references.
Methods
addReference()
public
addReference(ReferenceInterface $reference) : void
Parameters
- $reference : ReferenceInterface
Return values
void —contains()
public
contains(string $label) : bool
Parameters
- $label : string
Return values
bool —getReference()
public
getReference(string $label) : ReferenceInterface|null
Parameters
- $label : string
Return values
ReferenceInterface|null —listReferences()
Lists all registered references.
public
listReferences() : array<string|int, ReferenceInterface>