| 1 | <?php |
||
| 18 | class RecordsStore |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Record[] |
||
| 22 | */ |
||
| 23 | protected $records = []; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param Record $record |
||
| 27 | * @return RecordsStore |
||
| 28 | */ |
||
| 29 | public function remove(Record $record) : RecordsStore |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param Record $record |
||
| 43 | * @return RecordsStore |
||
| 44 | */ |
||
| 45 | 1 | public function append(Record $record) : RecordsStore |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return int |
||
| 54 | */ |
||
| 55 | public function count() : int |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param eRecordType $type |
||
| 62 | * @return record\base\Record[] |
||
| 63 | */ |
||
| 64 | 1 | public function iterate(eRecordType $type = NULL) |
|
| 74 | |||
| 75 | public function sort() |
||
| 87 | } |