Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| EventOrigin | n/a | 0 / 0 | n/a | 0 / 0 | 0 | n/a | 0 / 0 | |||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Contracts\Event; | |
| 6 | ||
| 7 | enum EventOrigin: string | |
| 8 | { | |
| 9 | // Home Assistant's own spelling on the wire; every other enum is snake_case. | |
| 10 | case Local = 'LOCAL'; | |
| 11 | case Remote = 'REMOTE'; | |
| 12 | } |