Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class ProductByIdHeadRequest extends AbstractByIdHeadRequest |
||
19 | { |
||
20 | use PriceSelectTrait; |
||
21 | |||
22 | protected $resultClass = Product::class; |
||
23 | |||
24 | /** |
||
25 | * @param string $id |
||
26 | * @param Context $context |
||
27 | */ |
||
28 | public function __construct($id, Context $context = null) |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param string $id |
||
35 | * @param Context $context |
||
36 | * @return static |
||
37 | */ |
||
38 | public static function ofId($id, Context $context = null) |
||
43 |