Features
- Added Serializers with ArraySerializer, DataArraySerializer (default) and a provisional JsonApiSerializer. (#47).
- Added
ResourceAbstract::setMeta('foo', mixed)
to allow custom meta data - Replaced
Manager::setRequestedScopes()
withManager::parseIncludes('foo,bar')
which can be an array or CSV string. It can
also take "Smart Syntax" such asManager::parseIncludes('bars:limit(5|1):order(-something)')
, which can come from a URL query
param:/foo?include=bars:limit(5|1):order(-something)
. - Made all pagination (paginators and cursors) use meta output logic, so it sits with your custom meta data
- Moved
League\Fractal\Cursor\Cursor
andLeague\Fractal\Cursor\CursorInterface
intoLeague\Fractal\Pagination
.