Skip to content

Commit 5a17f52

Browse files
authored
Update README.md
1 parent aaa9ae2 commit 5a17f52

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,13 @@ First of all, we need to install this package via composer:
2626
composer require geeky/request-objects
2727
```
2828

29-
And register the bundle:
29+
And register the bundle in `config/bundels.php`:
3030

3131
```
32-
public function registerBundles()
33-
{
34-
$bundles = [
35-
// ...
36-
new \Fesor\RequestObject\Bundle\RequestObjectBundle(),
37-
];
38-
}
32+
return [
33+
....
34+
Fesor\RequestObject\Bundle\RequestObjectBundle::class => ['all' => true],
35+
];
3936
```
4037

4138
Bundle doesn't require any additional configuration, but you could also specify an error response

0 commit comments

Comments
 (0)