Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Neomerx
JsonApi
Contracts
Encoder
EncoderInterface
withJsonApiVersion
Neomerx\JsonApi\Contracts\Encoder\EncoderInterface::withJsonApiVersion PHP Method
EncoderInterface Interface Documentation
Datei anzeigen
Open project: neomerx/json-api
withJsonApiVersion()
public
method
If called JSON API version information with optional meta will be added to a document.
See also:
http://jsonapi.org/format/#document-jsonapi-object
public
withJsonApiVersion
(
mixed
|
null
$meta
= null ) :
Neomerx\JsonApi\Contracts\Encoder\EncoderInterface
$meta
mixed
|
null
return
Neomerx\JsonApi\Contracts\Encoder\EncoderInterface
public function withJsonApiVersion($meta = null);
EncoderInterface
encodeData
encodeError
encodeErrors
encodeIdentifiers
encodeMeta
withJsonApiVersion
withLinks
withMeta
withRelationshipRelatedLink
withRelationshipSelfLink