Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
WoohooLabs
Yin
JsonApi
Request
RequestInterface
getResourceType
WoohooLabs\Yin\JsonApi\Request\RequestInterface::getResourceType PHP Method
RequestInterface Interface Documentation
显示文件
Open project: woohoolabs/yin
getResourceType()
public
method
Returns the "type" key's value in the "data" part of the request if it is present in the body, or null otherwise.
public
getResourceType
( ) :
string
|
null
return
string
|
null
public function getResourceType();
RequestInterface
getCursorBasedPagination
getFiltering
getFilteringParam
getFixedPageBasedPagination
getIncludedFields
getIncludedRelationships
getOffsetBasedPagination
getPageBasedPagination
getPagination
getQueryParam
getResource
getResourceAttribute
getResourceAttributes
getResourceId
getResourceType
getSorting
getToManyRelationship
getToOneRelationship
hasIncludedRelationships
isIncludedField
isIncludedRelationship
validateAcceptHeader
validateContentTypeHeader
validateQueryParams
withQueryParam