| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\php\integer\converter\toString; |
||
| 9 | function recipientOfPhpIntegerAsStringIs(php\integer\provider $integer, php\string\recipient $recipient) :void |
||
|
|
|||
| 10 | { |
||
| 11 | $integer |
||
| 12 | ->recipientOfIntegerIs( |
||
| 13 | new php\integer\recipient\functor( |
||
| 14 | function($integer) use ($recipient) |
||
| 15 | { |
||
| 16 | $recipient->stringIs((string) $integer); |
||
| 17 | } |
||
| 23 |
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.