1 | <?php |
||
12 | class Debug extends SymfonyDebug |
||
13 | { |
||
14 | private static $enabled = false; |
||
|
|||
15 | |||
16 | /** |
||
17 | * Enables the debug tools. |
||
18 | * |
||
19 | * This method registers an error handler and an exception handler. |
||
20 | * |
||
21 | * If the Symfony ClassLoader component is available, a special |
||
22 | * class loader is also registered. |
||
23 | * |
||
24 | * @param int $errorReportingLevel The level of error reporting you want |
||
25 | * @param bool $displayErrors Whether to display errors (for development) or just log them (for production) |
||
26 | */ |
||
27 | public static function enable($errorReportingLevel = E_ALL, $displayErrors = true) |
||
59 | } |
||
60 |