| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\composer\config\platform; |
||
| 23 | function keyValueSerializerIs(serializer $serializer) :void |
||
|
|
|||
| 24 | { |
||
| 25 | $this->converter |
||
| 26 | ->recipientOfPhpVersionAsStringIs( |
||
| 27 | $this->version, |
||
| 28 | new score\php\string\recipient\functor( |
||
| 29 | function($version) use ($serializer) |
||
| 30 | { |
||
| 31 | $serializer |
||
| 32 | ->textToSerializeWithNameIs( |
||
| 33 | new name\php, |
||
| 34 | new text\any($version) |
||
| 35 | ) |
||
| 43 |
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.