| Total Complexity | 4 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ApiAlias extends Collection |
||
| 14 | { |
||
| 15 | public function __construct() |
||
| 16 | { |
||
| 17 | $reflectionObject = new \ReflectionClass(API::class); |
||
| 18 | parent::__construct($reflectionObject->getConstants()); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function get($key, $default = null) |
||
| 26 | } |
||
| 27 | |||
| 28 | public function offsetGet($offset) |
||
| 33 |