| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class CustomerViewFactory implements CustomerViewFactoryInterface |
||
| 11 | { |
||
| 12 | /** @var string */ |
||
| 13 | private $customerViewClass; |
||
| 14 | |||
| 15 | public function __construct(string $customerViewClass) |
||
| 16 | { |
||
| 17 | $this->customerViewClass = $customerViewClass; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function create(CustomerInterface $customer): CustomerView |
||
| 33 | } |
||
| 34 | } |
||
| 35 |