Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class BrandImageFactory implements BrandImageFactoryInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var FactoryInterface |
||
15 | */ |
||
16 | private $factory; |
||
17 | |||
18 | public function __construct(FactoryInterface $factory) |
||
19 | { |
||
20 | $this->factory = $factory; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function createNew(): BrandImageInterface |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function createForBrand(BrandInterface $brand): BrandImageInterface |
||
44 | } |
||
45 | } |
||
46 |