Skip to content

Commit

Permalink
📚 Update documentation about dependency injection support
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva committed Jan 2, 2020
1 parent f502f7a commit 9631661
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function afterValidator($validator)
}
```

It is worth noting that, just like the `handle` method, the `withValidator` and `afterValidator` methods [support dependency injections](#dependency-injections).
It is worth noting that, just like the `handle` method, the `rules`, `withValidator` and `afterValidator` methods [support dependency injections](#dependency-injections).

If you want to validate some data directly within the `handle` method, you can use the `validate` method.

Expand Down Expand Up @@ -295,6 +295,8 @@ public function attributes()
}
```

It is worth noting that, just like the `handle` method, the `messages`, `attributes` methods [support dependency injections](#dependency-injections).

## Actions as objects

### How are attributes filled?
Expand Down

0 comments on commit 9631661

Please sign in to comment.