| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class AffiliateReferralFactory implements AffiliateReferralFactoryInterface |
||
| 12 | { |
||
| 13 | private FactoryInterface $decoratedFactory; |
||
| 14 | |||
| 15 | public function __construct(FactoryInterface $decoratedFactory) |
||
| 18 | } |
||
| 19 | |||
| 20 | public function createNew(): object |
||
| 23 | } |
||
| 24 | |||
| 25 | public function createForAffiliate(AffiliateInterface $affiliate): AffiliateReferralInterface |
||
| 33 | } |
||
| 34 | |||
| 35 | private function generateTokenValue(): string |
||
| 40 |