Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten authored Jun 20, 2016
1 parent 2fe9640 commit 6efa560
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 @@ -56,7 +56,9 @@ Install via composer
composer require mpscholten/request-parser
```

If you're using the `symfony/http-foundation` `Request`, you just need to import a trait into your controller:
If you're using the `symfony/http-foundation` `Request`, you just need to import a trait into your controller. If you're using some other `Request` abstraction (or maybe just plain old `$_GET` and friends), [check out this example](https://github.com/mpscholten/request-parser/blob/master/examples/not-symfony.php).

The following example asumes you're using the symfony `Request`:

```php
class MyController
Expand Down

0 comments on commit 6efa560

Please sign in to comment.