ExceptionLogLevelInterceptor
in package
implements
MethodInterceptor
FinalYes
Table of Contents
Interfaces
- MethodInterceptor
Methods
- invoke() : mixed
- executeAndSetExceptionLogLevel() : mixed
- Execute the callback and set the log level.
- getExceptionHandler() : Handler
- Get the exception handler.
Methods
invoke()
public
invoke(MethodInvocation $invocation) : mixed
Parameters
- $invocation : MethodInvocation
executeAndSetExceptionLogLevel()
Execute the callback and set the log level.
private
executeAndSetExceptionLogLevel(Closure $callback, ExceptionLogLevel $attribute) : mixed
Parameters
- $callback : Closure
-
The callback
- $attribute : ExceptionLogLevel
-
The attribute
Return values
mixed —The result of the callback
getExceptionHandler()
Get the exception handler.
private
getExceptionHandler() : Handler
Return values
Handler —The exception handler