| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\fs\path\operator\unary\filename; |
||
| 20 | function recipientOfOperationWithFsPathIs(path $otherPath, recipient $recipient) :void |
||
|
|
|||
| 21 | { |
||
| 22 | $this->path |
||
| 23 | ->recipientOfFilenameContainerFromFsPathIs( |
||
| 24 | new container\recipient\functor( |
||
| 25 | function($containerFromPath) use ($otherPath, $recipient) |
||
| 26 | { |
||
| 27 | $otherPath |
||
| 28 | ->recipientOfFilenameContainerFromFsPathIs( |
||
| 29 | new container\recipient\functor( |
||
| 30 | function($containerFromOtherPath) use ($containerFromPath, $recipient) |
||
| 31 | { |
||
| 32 | $this->operator |
||
| 33 | ->recipientOfOperationWithContainerAndContainerOfFsPathFilenameIs( |
||
| 34 | $containerFromPath, |
||
| 35 | $containerFromOtherPath, |
||
| 36 | new container\recipient\functor( |
||
| 37 | function($container) use ($recipient) |
||
| 38 | { |
||
| 39 | $this->factory |
||
| 40 | ->recipientOfFsPathWithFsPathFilenameFromContainerIs( |
||
| 41 | $container, |
||
| 42 | $recipient |
||
| 43 | ) |
||
| 60 |
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.