Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class ApplePayDirectEnabled extends AbstractExtension |
||
19 | { |
||
20 | /** @var ApplePayEnabledCheckerInterface */ |
||
21 | private $applePayEnabledChecker; |
||
22 | |||
23 | public function __construct(ApplePayEnabledCheckerInterface $applePayEnabledChecker) |
||
24 | { |
||
25 | $this->applePayEnabledChecker = $applePayEnabledChecker; |
||
26 | } |
||
27 | |||
28 | public function getFunctions(): array |
||
37 | ] |
||
38 | ), |
||
39 | ]; |
||
40 | } |
||
41 | |||
42 | public function applePayButtonRender(): bool |
||
45 | } |
||
46 | } |
||
47 |