@@ -34,6 +34,10 @@ |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | //TODO: Abstract all error reporting externally with a method for turning it on/off |
37 | + |
|
38 | + /** |
|
39 | + * @param boolean $condition |
|
40 | + */ |
|
37 | 41 | private function assert($condition, $error) { |
38 | 42 | if (!$functionExists) throw new \Exception($error); |
39 | 43 | } |