Revision 323496ef612df23d3aee4e130a2093f8a0732a62
Committed on 03/01/2014 6:48 am by
Bertrand Dunogier <bd@ez.no> [GitHub Diff]
Added bd_wordpress_api.response_decorator tag
From now on, response are expected to be from the wordpress API.
Response for other APIs are decorated from the wp ones using
a ResponseDecorator.
Response decorators are services that:
- implementat BD\Bundle\WordpressAPIBundle\ResponseDecorator\ResponseDecoratorInterface
- are tagged as bd_wordpress_api.response_decorator
- provide with a methodName tag attribute with the xml rpc method name
Added implementations for GetPost / GetRecentPosts, and updated post serialization to
match the wordpress API.