| 1 | <?php namespace BuildR\Collection\Exception; |
||
| 5 | class MapException extends Exception { |
||
| 6 | |||
| 7 | const MESSAGE_NON_VALID_KEY = "Only scalar keys allowed, %s given in!"; |
||
| 8 | |||
| 9 | const MESSAGE_NON_VALID_ARRAY = "This function only takes associative array as argument. Sequential given"; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param mixed $key |
||
| 13 | * |
||
| 14 | * @return self |
||
| 15 | */ |
||
| 16 | public static function notValidKey($key) { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return self |
||
| 24 | */ |
||
| 25 | public function sequentialArray() { |
||
| 28 | |||
| 29 | } |
||
| 30 |