| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\php\aNamespace\converter\toString; |
||
| 14 | function recipientOfPhpNamespaceAsStringIs(aNamespace $namespace, recipient $recipient) :void |
||
|
|
|||
| 15 | { |
||
| 16 | $buffer = new recipient\buffer\prefix\provider(new aNamespace\separator\official); |
||
| 17 | |||
| 18 | $namespace |
||
| 19 | ->recipientOfIdentifierFromToStringConverterIs( |
||
| 20 | new identifier\converter\toString\raw, |
||
| 21 | $buffer |
||
| 22 | ) |
||
| 23 | ; |
||
| 24 | |||
| 25 | $buffer->recipientOfStringIs($recipient); |
||
| 26 | } |
||
| 28 |
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.