| Total Complexity | 8 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace norsys\score\composer\depedency\version\semver; |
||
| 5 | class prefixed |
||
| 6 | implements |
||
| 7 | semver |
||
| 8 | { |
||
| 9 | private |
||
| 10 | $semver |
||
| 11 | ; |
||
| 12 | |||
| 13 | function __construct(semver $semver) |
||
| 14 | { |
||
| 15 | $this->semver = $semver; |
||
| 16 | } |
||
| 17 | |||
| 18 | function recipientOfMajorNumberInSemverIs(semver\number\recipient $recipient) :void |
||
| 21 | } |
||
| 22 | |||
| 23 | function recipientOfMajorNumberAsStringFromConverterIs(semver\number\converter\toString $converter, php\string\recipient $recipient) :void |
||
| 24 | { |
||
| 25 | $this->semver->recipientOfMajorNumberAsStringFromConverterIs($converter, $recipient); |
||
| 26 | } |
||
| 27 | |||
| 28 | function recipientOfMinorNumberInSemverIs(semver\number\recipient $recipient) :void |
||
| 31 | } |
||
| 32 | |||
| 33 | function recipientOfMinorNumberAsStringFromConverterIs(semver\number\converter\toString $converter, php\string\recipient $recipient) :void |
||
| 36 | } |
||
| 37 | |||
| 38 | function recipientOfPatchNumberInSemverIs(semver\number\recipient $recipient) :void |
||
| 39 | { |
||
| 40 | $this->semver->recipientOfPatchNumberInSemverIs($recipient); |
||
| 41 | } |
||
| 42 | |||
| 43 | function recipientOfPatchNumberAsStringFromConverterIs(semver\number\converter\toString $converter, php\string\recipient $recipient) :void |
||
| 44 | { |
||
| 45 | $this->semver->recipientOfPatchNumberAsStringFromConverterIs($converter, $recipient); |
||
| 46 | } |
||
| 47 | |||
| 48 | function recipientOfStringIs(php\string\recipient $recipient) :void |
||
| 53 | ) |
||
| 54 | ; |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
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.