ErrorCapturer.php
Table of Contents
| exceptionCapturerFWK() | This is our user-defined exception handler function to be called when an uncaught exception occurs. | : void | 
|---|---|---|
| errorCapturerFWK() | This is the function for execution on shutdown. | : void | 
| callMethod() | : bool | 
Functions
exceptionCapturerFWK()
This is our user-defined exception handler function to be called when an uncaught exception occurs.
    
                exceptionCapturerFWK(Throwable $e) : void
        It instanciates an ExceptionHandler object (see FWK\Core\Exceptions\ExceptionHandler) to manage the captured exception.
Parameters
- $e : Throwable
Tags
Return values
void —errorCapturerFWK()
This is the function for execution on shutdown.
    
                errorCapturerFWK() : void
    
    
    
        Return values
void —callMethod()
    
                callMethod(callable $method[, callable $finally = null ][, string $message = '' ][, array<string|int, mixed> $args = [] ][, bool $staticRedirect = false ]) : bool
        
        Parameters
- $method : callable
- $finally : callable = null
- $message : string = ''
- $args : array<string|int, mixed> = []
- $staticRedirect : bool = false