Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GraphQL
Examples
Blog
Type
QueryType
user
GraphQL\Examples\Blog\Type\QueryType::user PHP Method
QueryType Class Documentation
Show file
Open project: webonyx/graphql-php
user()
public
method
public
user
(
$rootValue
,
$args
)
public function user($rootValue, $args) { return DataSource::findUser($args['id']); }
QueryType
__construct
deprecatedField
hello
lastStoryPosted
stories
user
viewer