Skip to content

Commit

Permalink
add import to handling requests example
Browse files Browse the repository at this point in the history
  • Loading branch information
CaddyDz authored and chriskacerguis committed Oct 4, 2019
1 parent 3ed9565 commit 67eaafb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ When your controller extends from `REST_Controller`, the method names will be ap
This allows you to implement a RESTful interface easily:

```php
use Restserver\Libraries\REST_Controller;

class Books extends CI_Controller
{
use REST_Controller {
Expand Down

0 comments on commit 67eaafb

Please sign in to comment.