You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on the example from the documentation using Laravel 4.2 but I always get a BookTransformer class not found error. What am I missing from the documentation?
`use Chrisbjr\ApiGuard\ApiGuardController;
class BooksController extends ApiGuardController
{
public function all()
{
$books = Book::all();
return $this->response->withCollection($books, new BookTransformer);
}`
The text was updated successfully, but these errors were encountered:
I'm working on the example from the documentation using Laravel 4.2 but I always get a BookTransformer class not found error. What am I missing from the documentation?
`use Chrisbjr\ApiGuard\ApiGuardController;
class BooksController extends ApiGuardController
{
public function all()
{
$books = Book::all();
The text was updated successfully, but these errors were encountered: