[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/tobscure/json-api/src/ -> SerializerInterface.php (summary)

(no description)

File Size: 71 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SerializerInterface:: (6 methods):
  getType()
  getId()
  getAttributes()
  getLinks()
  getMeta()
  getRelationship()


Interface: SerializerInterface  - X-Ref

getType($model)   X-Ref
Get the type.

param: mixed $model
return: string

getId($model)   X-Ref
Get the id.

param: mixed $model
return: string

getAttributes($model, array $fields = null)   X-Ref
Get the attributes array.

param: mixed $model
param: array|null $fields
return: array

getLinks($model)   X-Ref
Get the links array.

param: mixed $model
return: array

getMeta($model)   X-Ref
Get the meta.

param: mixed $model
return: array

getRelationship($model, $name)   X-Ref
Get a relationship.

param: mixed $model
param: string $name
return: \Tobscure\JsonApi\Relationship|null



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer