| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class Order extends ValueObject implements \JsonSerializable |
||
| 25 | { |
||
| 26 | public const ASC = 'asc'; |
||
| 27 | public const DESC = 'desc'; |
||
| 28 | |||
| 29 | protected $column; |
||
| 30 | protected $dir; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Initializing constructor. |
||
| 34 | */ |
||
| 35 | public function __construct(int $column, string $dir) |
||
| 39 | } |
||
| 40 | 1 | ||
| 41 | 1 | /** |
|
| 42 | 1 | * {@inheritdoc} |
|
| 43 | */ |
||
| 44 | public function jsonSerialize(): array |
||
| 52 |