Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Neomerx
JsonApi
Contracts
Document
DocumentInterface
setMetaToDocument
Neomerx\JsonApi\Contracts\Document\DocumentInterface::setMetaToDocument PHP Method
DocumentInterface Interface Documentation
Mostra file
Open project: neomerx/json-api
setMetaToDocument()
public
method
Set arbitrary meta-information about primary data to top-level 'meta' section.
public
setMetaToDocument
(
object
|
array
$meta
) :
void
$meta
object
|
array
return
void
public function setMetaToDocument($meta);
DocumentInterface
addEmptyRelationshipToData
addEmptyRelationshipToIncluded
addError
addErrors
addJsonApiVersion
addNullRelationshipToData
addNullRelationshipToIncluded
addRelationshipToData
addRelationshipToIncluded
addToData
addToIncluded
getDocument
setDocumentLinks
setEmptyData
setMetaToDocument
setNullData
setResourceCompleted
setUrlPrefix
unsetData