Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
KeyType | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php declare(strict_types=1); |
2 | |
3 | namespace Aviat\Kilo\Enum; |
4 | |
5 | use Aviat\Kilo\Traits; |
6 | |
7 | /** |
8 | * Constants representing various control keys |
9 | * @enum |
10 | */ |
11 | class KeyType { |
12 | use Traits\ConstList; |
13 | |
14 | public const ARROW_DOWN = 'KEY_ARROW_DOWN'; |
15 | public const ARROW_LEFT = 'KEY_ARROW_LEFT'; |
16 | public const ARROW_RIGHT = 'KEY_ARROW_RIGHT'; |
17 | public const ARROW_UP = 'KEY_ARROW_UP'; |
18 | public const BACKSPACE = 'KEY_BACKSPACE'; |
19 | public const DELETE = 'KEY_DELETE'; |
20 | public const END = 'KEY_END'; |
21 | public const ENTER = 'KEY_ENTER'; |
22 | public const ESCAPE = 'KEY_ESCAPE'; |
23 | public const HOME = 'KEY_HOME'; |
24 | public const PAGE_DOWN = 'KEY_PAGE_DOWN'; |
25 | public const PAGE_UP = 'KEY_PAGE_UP'; |
26 | } |