| 1 | <?php |
||
| 12 | trait EnumTransferKeys |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Get the transfer keys. |
||
| 16 | * |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | protected static function transferKeys() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the transferred key for the given key. |
||
| 33 | * |
||
| 34 | * @param mixed $key |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | protected static function getTransferredKey($key) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the original key. |
||
| 44 | * |
||
| 45 | * @param mixed $key |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | protected static function getOriginalKey($key) |
||
| 54 | } |
||
| 55 |