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
getType
WoohooLabs\Yin\JsonApi\Transformer\ResourceTransformerInterface::getType PHP Method
ResourceTransformerInterface Interface Documentation
Mostra file
Open project: woohoolabs/yin
getType()
public
method
The method returns the type of the current resource.
public
getType
(
mixed
$domainObject
) :
string
$domainObject
mixed
return
string
public function getType($domainObject);
ResourceTransformerInterface
getAttributes
getDefaultIncludedRelationships
getId
getLinks
getMeta
getRelationships
getType
transformRelationship
transformToResource
transformToResourceIdentifier