Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
c-tanner authored Sep 29, 2024
1 parent 55f12b1 commit 696660a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class Task {

However, let's say that both classes have a property, `is_complete`, which defaults to `false`, and we want to automatically mark a `Task` complete only when all related `Subtasks` are also complete:

![example reverse sync diagram](https://github.com/c-tanner/laravel-deep-sync/blob/main/doc/relationship-example-3.png)

```php
#[ObservedBy([DeepSync::class])]
class Task extends Model
Expand Down

0 comments on commit 696660a

Please sign in to comment.