| 1 | <?php |
||
| 4 | abstract class AbstractIssue implements \ArrayAccess { |
||
| 5 | |||
| 6 | /** |
||
| 7 | * @var array |
||
| 8 | */ |
||
| 9 | protected $data = array(); |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param array $params |
||
| 13 | */ |
||
| 14 | 12 | public function __construct(array $params = array()) { |
|
| 17 | |||
| 18 | /** |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | 10 | public function toString() { |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | abstract protected function getExplanation(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | 10 | public function __toString() { |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param mixed $offset |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | 4 | public function offsetExists($offset) { |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $offset |
||
| 47 | * @return mixed |
||
| 48 | */ |
||
| 49 | 4 | public function offsetGet($offset) { |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param mixed $offset |
||
| 55 | * @param mixed $value |
||
| 56 | */ |
||
| 57 | 1 | public function offsetSet($offset, $value) { |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @param mixed $offset |
||
| 63 | */ |
||
| 64 | 1 | public function offsetUnset($offset) { |
|
| 67 | } |