Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Neomerx
JsonApi
Contracts
Document
DocumentInterface
addJsonApiVersion
Neomerx\JsonApi\Contracts\Document\DocumentInterface::addJsonApiVersion PHP Метод
Документация по интерфейсу DocumentInterface
Показать файл
Открыть проект
addJsonApiVersion()
публичный
Метод
Add JSON API version information.
См. ссылку:
http://jsonapi.org/format/#document-jsonapi-object
public
addJsonApiVersion
(
string
$version
,
mixed
|
null
$meta
= null ) :
void
$version
string
$meta
mixed
|
null
Результат
void
public function addJsonApiVersion($version, $meta = null);
DocumentInterface
addEmptyRelationshipToData
addEmptyRelationshipToIncluded
addError
addErrors
addJsonApiVersion
addNullRelationshipToData
addNullRelationshipToIncluded
addRelationshipToData
addRelationshipToIncluded
addToData
addToIncluded
getDocument
setDocumentLinks
setEmptyData
setMetaToDocument
setNullData
setResourceCompleted
setUrlPrefix
unsetData