Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class BrandImage extends Image implements BrandImageInterface |
||
10 | { |
||
11 | public const TYPE_LOGO = 'logo'; |
||
12 | |||
13 | public function isLogo(): bool |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | public function getBrand(): ?BrandInterface |
||
22 | { |
||
23 | /** @var BrandInterface|null $brand */ |
||
24 | $brand = $this->getOwner(); |
||
25 | |||
26 | return $brand; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function setBrand(?BrandInterface $brand): void |
||
35 | } |
||
36 | } |
||
37 |