Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Replace `new Request()` with `$this->container->get('request')`
  • Loading branch information
JellyBellyDev committed Sep 3, 2014
1 parent ee1db80 commit 3458aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ If you want to use the service in another service, you have to simulate a new re
``` php
$imagemanagerResponse = $this->container
->get('liip_imagine.controller')
->filterAction(New Request(), 'uploads/foo.jpg', 'my_thumb');
->filterAction($this->container->get('request'), 'uploads/foo.jpg', 'my_thumb');
```

## Outside the web root
Expand Down

0 comments on commit 3458aa6

Please sign in to comment.