PropertyRepository
in package
implements
Countable
Unique collection of {@see Property}.
Tags
Table of Contents
Interfaces
- Countable
Properties
Methods
- __construct() : mixed
- addItems() : $this
- Please be aware: Currently there is no functionality that checks for unique (property-key, property-value) combinations in the repository.
- count() : int
- getItems() : array<string|int, Property>
Properties
$items
private
array<string|int, Property>
$items
= []
Tags
Methods
__construct()
public
__construct(Property ...$items) : mixed
Parameters
- $items : Property
addItems()
Please be aware: Currently there is no functionality that checks for unique (property-key, property-value) combinations in the repository.
public
addItems(Property ...$items) : $this
Parameters
- $items : Property
Return values
$thiscount()
public
count() : int
Tags
Return values
intgetItems()
public
getItems() : array<string|int, Property>