19
19
use Symfony \Component \Debug \ExceptionHandler ;
20
20
use Symfony \Component \EventDispatcher \Event ;
21
21
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
22
+ use Symfony \Component \HttpKernel \Debug \FileLinkFormatter ;
22
23
use Symfony \Component \HttpKernel \Event \KernelEvent ;
23
24
use Symfony \Component \HttpKernel \KernelEvents ;
24
25
@@ -40,13 +41,13 @@ class DebugHandlersListener implements EventSubscriberInterface
40
41
private $ hasTerminatedWithException ;
41
42
42
43
/**
43
- * @param callable|null $exceptionHandler A handler that will be called on Exception
44
- * @param LoggerInterface|null $logger A PSR-3 logger
45
- * @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants
46
- * @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value
47
- * @param bool $scream Enables/disables screaming mode, where even silenced errors are logged
48
- * @param string|array $fileLinkFormat The format for links to source files
49
- * @param bool $scope Enables/disables scoping mode
44
+ * @param callable|null $exceptionHandler A handler that will be called on Exception
45
+ * @param LoggerInterface|null $logger A PSR-3 logger
46
+ * @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants
47
+ * @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value
48
+ * @param bool $scream Enables/disables screaming mode, where even silenced errors are logged
49
+ * @param string|FileLinkFormatter|null $fileLinkFormat The format for links to source files
50
+ * @param bool $scope Enables/disables scoping mode
50
51
*/
51
52
public function __construct (callable $ exceptionHandler = null , LoggerInterface $ logger = null , $ levels = E_ALL , $ throwAt = E_ALL , $ scream = true , $ fileLinkFormat = null , $ scope = true )
52
53
{
0 commit comments