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