| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\fs\path\filename\container; |
||
| 6 | class fifo |
||
| 7 | implements |
||
| 8 | container |
||
| 9 | { |
||
| 10 | private |
||
| 11 | $filenames |
||
| 12 | ; |
||
| 13 | |||
| 14 | function __construct(filename... $filenames) |
||
| 17 | } |
||
| 18 | |||
| 19 | function blockForContainerIteratorIs(block $block) :void |
||
|
|
|||
| 20 | { |
||
| 21 | ( |
||
| 22 | new iterator\fifo |
||
| 23 | ) |
||
| 24 | ->variablesForIteratorBlockAre( |
||
| 25 | $block, |
||
| 26 | ... $this->filenames |
||
| 27 | ) |
||
| 28 | ; |
||
| 29 | } |
||
| 30 | |||
| 31 | function recipientOfFsPathFilenameInContainerIs(container\filename\recipient $recipient) :void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.