comparison vendor/symfony/debug/Debug.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 5fb285c0d0e3
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
21 private static $enabled = false; 21 private static $enabled = false;
22 22
23 /** 23 /**
24 * Enables the debug tools. 24 * Enables the debug tools.
25 * 25 *
26 * This method registers an error handler and an exception handler. 26 * This method registers an error handler, an exception handler and a special class loader.
27 *
28 * If the Symfony ClassLoader component is available, a special
29 * class loader is also registered.
30 * 27 *
31 * @param int $errorReportingLevel The level of error reporting you want 28 * @param int $errorReportingLevel The level of error reporting you want
32 * @param bool $displayErrors Whether to display errors (for development) or just log them (for production) 29 * @param bool $displayErrors Whether to display errors (for development) or just log them (for production)
33 */ 30 */
34 public static function enable($errorReportingLevel = E_ALL, $displayErrors = true) 31 public static function enable($errorReportingLevel = E_ALL, $displayErrors = true)