| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class ProductFixture |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var ProductInterface |
||
| 11 | */ |
||
| 12 | private $product; |
||
| 13 | |||
| 14 | public function __construct(ProductInterface $product) |
||
| 15 | { |
||
| 16 | $this->product = $product; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getId() : int |
||
| 20 | { |
||
| 21 | return $this->product->getId(); |
||
|
|
|||
| 22 | } |
||
| 23 | |||
| 24 | public function getSku() : string |
||
| 27 | } |
||
| 28 | } |
||
| 29 |