| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\composer\part\anArray; |
||
| 6 | class named |
||
| 7 | implements |
||
| 8 | anArray |
||
| 9 | { |
||
| 10 | private |
||
| 11 | $name, |
||
| 12 | $part |
||
| 13 | ; |
||
| 14 | |||
| 15 | function __construct(name $name, part $part) |
||
| 16 | { |
||
| 17 | $this->name = $name; |
||
| 18 | $this->part = $part; |
||
| 19 | } |
||
| 20 | |||
| 21 | function keyValueSerializerIs(serializer $serializer) :void |
||
| 24 | } |
||
| 25 | } |
||
| 26 |
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.