Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane authored Jan 1, 2024
1 parent 6a11847 commit 0569f2b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ class DefaultExceptionsHandler extends AbstractExceptionHandler {
}
echo '</pre>';
}

public function isActive(): bool {
//Activate or deactivate the handler based on conditions.
return true;
}

public function isShutdownHandler(): bool {
//Set the handler as shutdown handler (errors after processing)
return false;
}
}

```
Expand Down

0 comments on commit 0569f2b

Please sign in to comment.