| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\net\uri\path\converter\toString; |
||
| 13 | function recipientOfNetUriPathAsStringIs(path $path, recipient $recipient) :void |
||
|
|
|||
| 14 | { |
||
| 15 | $buffer = new recipient\buffer; |
||
| 16 | |||
| 17 | $path |
||
| 18 | ->recipientOfSegmentInNetUriPathAsStringFromConverterIs( |
||
| 19 | new path\segment\converter\toString\rfc3986, |
||
| 20 | $buffer |
||
| 21 | ) |
||
| 22 | ; |
||
| 23 | |||
| 24 | $buffer->recipientOfStringIs($recipient); |
||
| 25 | } |
||
| 27 |
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.