| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class CategoryFixture |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var CategoryInterface |
||
| 12 | */ |
||
| 13 | private $category; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return CategoryInterface |
||
| 17 | */ |
||
| 18 | public function getCategory(): CategoryInterface |
||
| 19 | { |
||
| 20 | return $this->category; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function __construct(CategoryInterface $category) |
||
| 24 | { |
||
| 25 | $this->category = $category; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getId() : int |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getUrlKey() : string |
||
| 38 | } |
||
| 39 | } |
||
| 40 |