| 1 | <?php namespace BuildR\Collection\Exception; |
||
| 20 | class CollectionException extends Exception { |
||
| 21 | |||
| 22 | const MESSAGE_NON_SCALAR_TYPE = "This collection only store scalar types! %s given!"; |
||
| 23 | |||
| 24 | const MESSAGE_INVALID_TYPE = "This element is not has valid type for this collection! (%s)"; |
||
| 25 | |||
| 26 | public static function nonScalarTypeGiven($typeGiven) { |
||
| 29 | |||
| 30 | public static function typeException($message) { |
||
| 33 | |||
| 34 | } |
||
| 35 |