| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait ProductTrait |
||
| 8 | { |
||
| 9 | protected $brand; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @return BrandInterface|null |
||
| 13 | */ |
||
| 14 | public function getBrand(): ?BrandInterface |
||
| 15 | { |
||
| 16 | return $this->brand; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param BrandInterface|null $brand |
||
| 21 | */ |
||
| 22 | public function setBrand(?BrandInterface $brand): void |
||
| 25 | } |
||
| 26 | } |
||
| 27 |