| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class SetPageCommand extends AbstractStandardCommand implements \JsonSerializable |
||
| 10 | { |
||
| 11 | public const TYPE = 'SetPage'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string|null $componentId ID of the component to set page on |
||
| 15 | * @param SetPagePosition $position Position type for the page change |
||
| 16 | * @param int|null $transitionDuration Duration of the page transition in milliseconds |
||
| 17 | * @param int|null $value Page value to set |
||
| 18 | */ |
||
| 19 | 7 | public function __construct( |
|
| 26 | } |
||
| 27 | |||
| 28 | 5 | public function jsonSerialize(): array |
|
| 49 |