| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class MeOrderByIdRequest extends AbstractByIdGetRequest |
||
| 24 | { |
||
| 25 | use InStoreTrait; |
||
| 26 | |||
| 27 | protected $resultClass = Order::class; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $id |
||
| 31 | * @param Context $context |
||
| 32 | */ |
||
| 33 | 6 | public function __construct($id, Context $context = null) |
|
| 36 | 6 | } |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $id |
||
| 40 | * @param Context $context |
||
| 41 | * @return static |
||
| 42 | */ |
||
| 43 | 6 | public static function ofId($id, Context $context = null) |
|
| 48 |