JsonApiElementInterface
interface JsonApiElementInterface
Methods
array
getResources()
Get the resources array.
array
toArray()
Map to a "resource object" array.
array
toIdentifier()
Map to a "resource object identifier" array.
$this
relations(string|array $relationships)
Request a relationship to be included.
$this
attributes(array|null $fields)
Request a restricted set of fields.
getSerializer()
No description
mixed
getDenormalizedData($relationShips, $included, $name)
No description
Details
at line 12
array
getResources()
Get the resources array.
at line 19
array
toArray()
Map to a "resource object" array.
at line 26
array
toIdentifier()
Map to a "resource object identifier" array.
at line 35
$this
relations(string|array $relationships)
Request a relationship to be included.
at line 44
$this
attributes(array|null $fields)
Request a restricted set of fields.