| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\composer\scripts; |
||
| 7 | class method |
||
| 8 | implements |
||
| 9 | part |
||
| 10 | { |
||
| 11 | private |
||
| 12 | $method, |
||
| 13 | $converter |
||
| 14 | ; |
||
| 15 | |||
| 16 | function __construct(php\method $method, php\method\converter\toString $converter = null) |
||
| 20 | } |
||
| 21 | |||
| 22 | function keyValueSerializerIs(serializer $serializer) :void |
||
| 34 |
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.