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
WoohooLabs
Yin
JsonApi
Transformer
ResourceTransformerInterface
getLinks
WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface::getLinks PHP Method
ResourceTransformerInterface Interface Documentation
Mostra file
Open project: woohoolabs/yin
getLinks()
public
method
The method returns a new Links schema object if you want to provide linkage data about the resource or null if it should be omitted from the response.
public
getLinks
(
mixed
$domainObject
) :
WoohooLabs\Yin\JsonApi\Schema\Links |
null
$domainObject
mixed
return
WoohooLabs\Yin\JsonApi\Schema\Links |
null
public function getLinks($domainObject);
ResourceTransformerInterface
getAttributes
getDefaultIncludedRelationships
getId
getLinks
getMeta
getRelationships
getType
transformRelationship
transformToResource
transformToResourceIdentifier