| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class SetFocusCommand extends AbstractStandardCommand implements \JsonSerializable |
||
| 8 | { |
||
| 9 | public const TYPE = 'SetFocus'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param string|null $componentId ID of the component to set focus on |
||
| 13 | */ |
||
| 14 | 6 | public function __construct( |
|
| 15 | public ?string $componentId = null, |
||
| 16 | ) { |
||
| 17 | 6 | parent::__construct(self::TYPE); |
|
| 18 | } |
||
| 19 | |||
| 20 | 3 | public function jsonSerialize(): array |
|
| 29 | } |
||
| 30 | } |
||
| 31 |