| 1 | <?php |
||
| 12 | class AssertException extends Exception |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Handle a failed assert() call. |
||
| 16 | * |
||
| 17 | * @param string $file |
||
| 18 | * @param int $line |
||
| 19 | * @param string $expression |
||
| 20 | * @param string $description |
||
| 21 | * |
||
| 22 | * @return self |
||
| 23 | */ |
||
| 24 | public static function handle($file, $line, $expression, $description) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Construct a new assert exception. |
||
| 31 | * |
||
| 32 | * @param string $file |
||
| 33 | * @param int $line |
||
| 34 | * @param string $expression |
||
| 35 | * @param string $description |
||
| 36 | */ |
||
| 37 | public function __construct($file, $line, $expression, $description) |
||
| 55 | } |
||
| 56 |