Lines
0.00%
0 / 3
Methods
0.00%
0 / 3
Classes
0.00%
0 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| type | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| describe | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| toMessage | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | ||
| 7 | final readonly class GetEntityRegistry implements HaCommand | |
| 8 | { | |
| 9 | public function type(): string | |
| 10 | { | |
| 11 | return 'config/entity_registry/list'; | |
| 12 | } | |
| 13 | ||
| 14 | public function describe(): string | |
| 15 | { | |
| 16 | return $this->type(); | |
| 17 | } | |
| 18 | ||
| 19 | public function toMessage(): array | |
| 20 | { | |
| 21 | return ['type' => $this->type()]; | |
| 22 | } | |
| 23 | } |