| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class CartByKeyGetRequest extends AbstractByKeyGetRequest |
||
| 21 | { |
||
| 22 | use InStoreTrait; |
||
| 23 | |||
| 24 | protected $resultClass = Cart::class; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $key |
||
| 28 | * @param Context $context |
||
| 29 | */ |
||
| 30 | public function __construct($key, Context $context = null) |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $key |
||
| 37 | * @param Context $context |
||
| 38 | * @return static |
||
| 39 | */ |
||
| 40 | public static function ofKey($key, Context $context = null) |
||
| 45 |