Property | Type | Description | |
---|---|---|---|
$config | mixed |
Method | Description | |
---|---|---|
__construct ( ) | The constructor | |
record ( Exception $e ) : false | |
Records an Exception to the database |
Method | Description | |
---|---|---|
collect ( string $key, Exception $e = null ) : array | integer | null | string | ||
excludeKeys ( array $data ) : void | This function will remove all keys from an array recursively as defined in the config file | |
getData ( ) : array | null | Gets the input data of the Request | |
getMethod ( ) : string | null | Gets the Method of the Request | |
getStatusCode ( Exception $e ) : string | integer | Gets the status code of the Exception | |
getUrl ( ) : string | null | Gets the URL of the Request | |
getUserId ( ) : integer | null | Gets the ID of the User that is logged in |
Method | Description | |
---|---|---|
canCollect ( string $type ) : boolean | Checks the config to see if you can collect certain information |
protected excludeKeys ( array $data ) : void | ||
$data | array | The array to remove keys from |
return | void |
protected getStatusCode ( Exception $e ) : string | integer | ||
$e | Exception | The Exception to check |
return | string | integer | The status code value |
public record ( Exception $e ) : false | |
||
$e | Exception | The exception you want to record |
return | false | |