neomerx / json-api

Framework agnostic JSON API (jsonapi.org) implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please provide full class names in documentation

marhub opened this issue · comments

instead of writing
$factory = new Factory(); there shoul be $factory = new \Neomerx\JsonApi\Factories\Factory();
that is much easier to understand.

Also there blocks like $matcher = $this->getCodecMatcher(); - i can't see any information about what class this method should return.

While working on this I noticed that name-spacing could be enhanced for Link and EncodingParameters. As next release 0.8.0 already has a few breaking changes I decided to make these changes in 0.8.0 as well.

For more details see.

As for code for $matcher = $this->getCodecMatcher(); you can find how to create one on the same page but little bit above