Skip to content

Commit

Permalink
touch
Browse files Browse the repository at this point in the history
  • Loading branch information
shmax committed Oct 25, 2023
1 parent 73f4538 commit 5c91c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Callbacks in PHP ActiveRecord are methods that allow you to execute custom code

**Business Logic**: Callbacks let you encapsulate complex business logic within your models, improving maintainability.

## Callbacks Overview
## Callbacks Overview
1. `after_construct`
The `after_construct` callback is triggered immediately after a new model instance is created, but before it's populated with data. It's useful for performing tasks like setting default attribute values or initializing resources.

Expand Down

0 comments on commit 5c91c68

Please sign in to comment.