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
withQueryParam
WoohooLabs\Yin\JsonApi\Request\RequestInterface::withQueryParam PHP Method
RequestInterface Interface Documentation
显示文件
Open project: woohoolabs/yin
withQueryParam()
public
method
Returns a query parameter with a name of $name if it is present in the request, or the $default value otherwise.
public
withQueryParam
(
string
$name
,
mixed
$value
)
$name
string
$value
mixed
public function withQueryParam($name, $value);
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