| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait ProductTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var BrandInterface |
||
| 11 | */ |
||
| 12 | protected $brand; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return BrandInterface |
||
| 16 | */ |
||
| 17 | public function getBrand(): ?BrandInterface |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param BrandInterface $brand |
||
| 24 | * @return ProductTrait |
||
| 25 | */ |
||
| 26 | public function setBrand(BrandInterface $brand) |
||
| 30 | } |
||
| 31 | } |