| 1 | <?php namespace BuildR\Collection\Exception; |
||
| 11 | class MapException extends Exception { |
||
| 12 | |||
| 13 | const MESSAGE_NON_VALID_KEY = "Only scalar keys allowed, %s given in!"; |
||
| 14 | |||
| 15 | const MESSAGE_NON_VALID_ARRAY = "This function only takes associative array as argument. Sequential given"; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param mixed $key |
||
| 19 | * |
||
| 20 | * @return self |
||
| 21 | */ |
||
| 22 | public static function notValidKey($key) { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return self |
||
| 30 | */ |
||
| 31 | public function sequentialArray() { |
||
| 34 | |||
| 35 | } |
||
| 36 |