| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\php\string\recipient\buffer\prefix; |
||
| 61 | function recipientOfStringIs(php\string\recipient $recipient) :void |
||
| 62 | { |
||
| 63 | ( |
||
| 64 | new defined($this->buffer) |
||
| 65 | ) |
||
| 66 | ->recipientOfTestIs( |
||
| 67 | new ifTrue( |
||
| 68 | function() use ($recipient) |
||
| 69 | { |
||
| 70 | $recipient->stringIs($this->buffer); |
||
| 71 | } |
||
| 77 |
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.