Vendor
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
namespace GraphQL\Examples\Blog;
|
||||
|
||||
use GraphQL\Examples\Blog\Data\User;
|
||||
|
||||
/**
|
||||
* Class AppContext
|
||||
* Instance available in all GraphQL resolvers as 3rd argument
|
||||
*
|
||||
* @package GraphQL\Examples\Blog
|
||||
*/
|
||||
class AppContext
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $rootUrl;
|
||||
|
||||
/**
|
||||
* @var User
|
||||
*/
|
||||
public $viewer;
|
||||
|
||||
/**
|
||||
* @var \mixed
|
||||
*/
|
||||
public $request;
|
||||
}
|
||||
Reference in New Issue
Block a user