| 1 | <?php |
||
| 19 | final class Route implements \ArrayAccess |
||
| 20 | { |
||
| 21 | |||
| 22 | /** @var string */ |
||
| 23 | public $name; |
||
| 24 | |||
| 25 | /** @var string */ |
||
| 26 | public $content; |
||
| 27 | |||
| 28 | /** @var string */ |
||
| 29 | public $routePattern; |
||
| 30 | |||
| 31 | /** @var array */ |
||
| 32 | public $routeConditions; |
||
| 33 | |||
| 34 | /** @var string */ |
||
| 35 | public $action; |
||
| 36 | |||
| 37 | /** @var array */ |
||
| 38 | public $verbs; |
||
| 39 | |||
| 40 | /** @var array */ |
||
| 41 | public $expose; |
||
| 42 | |||
| 43 | /** @var boolean */ |
||
| 44 | public $disableExpose; |
||
| 45 | |||
| 46 | /** @var boolean */ |
||
| 47 | public $allowOptions; |
||
| 48 | |||
| 49 | /** @var boolean */ |
||
| 50 | public $collection; |
||
| 51 | |||
| 52 | /** @var boolean */ |
||
| 53 | public $origin; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Return key exists. |
||
| 57 | * |
||
| 58 | * @param mixed $offset |
||
| 59 | * @return boolean |
||
| 60 | */ |
||
| 61 | 44 | public function offsetExists($offset) { |
|
| 64 | |||
| 65 | /** |
||
| 66 | * Return the value for the offset. |
||
| 67 | * |
||
| 68 | * @param mixed $offset |
||
| 69 | * @return mixed |
||
| 70 | */ |
||
| 71 | 44 | public function offsetGet($offset) { |
|
| 74 | |||
| 75 | /** |
||
| 76 | * Set the offset |
||
| 77 | * |
||
| 78 | * @param mixed $offset |
||
| 79 | * @param mixed $value |
||
| 80 | */ |
||
| 81 | 43 | public function offsetSet($offset, $value) { |
|
| 84 | |||
| 85 | /** |
||
| 86 | * Unset the offset. |
||
| 87 | * |
||
| 88 | * @param mixed $offset |
||
| 89 | */ |
||
| 90 | 1 | public function offsetUnset($offset) { |
|
| 95 | } |
||
| 96 |