Skip to content

Commit 29bd0e3

Browse files
authored
Apply suggestions from code review
1 parent 127dc26 commit 29bd0e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/state-processors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class BlogPost {}
136136

137137
## Hooking into the Built-In State Processors
138138

139-
### Symfony State Provider mechanism
139+
### Symfony State Processor mechanism
140140
If you want to execute custom business logic before or after persistence, this can be achieved by using [composition](https://en.wikipedia.org/wiki/Object_composition).
141141

142142
Here is an implementation example which uses [Symfony Mailer](https://symfony.com/doc/current/mailer.html) to send new users a welcome email after a REST `POST` or GraphQL `create` operation, in a project using the native Doctrine ORM state processor:
@@ -211,7 +211,7 @@ use App\State\UserProcessor;
211211
class User {}
212212
```
213213

214-
### Laravel State Provider mechanism
214+
### Laravel State Processor mechanism
215215
If you want to execute custom business logic before or after persistence, this can be achieved by using [composition](https://en.wikipedia.org/wiki/Object_composition).
216216

217217
Here is an implementation example which uses [Laravel Mail](https://laravel.com/docs/mail) to send new users a welcome email after a REST `POST` or GraphQL `create` operation, in a project using the native Eloquent ORM state processor:

0 commit comments

Comments
 (0)