nilportugues / php-json-api

JSON API transformer outputting valid (PSR-7) API Responses.
http://nilportugues.com
MIT License
71 stars 35 forks source link

Using abstact class instead of current #61

Closed GSokol closed 8 years ago

nilportugues commented 8 years ago

@GSokol

I don't see the point, and I really want to make the package JSON-API specific.

What's your use case?

GSokol commented 8 years ago

@nilportugues

I'm using it with symfony-jsonapi. I want my controllers to deal with actions and to serialize using serializer from symfony-jsonapi, that initialized with .yml mappings

nilportugues commented 8 years ago

Looks like you're injecting the wrong object.

Check the documentation for symfony-jsonapi. Or check https://github.com/nilopc-interesting-libs/alombarte-jsonapi I did for a friend.