for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is a part of GraphQL project.
*
* @author Alexandr Viniychuk <[email protected]>
* created: 12/3/15 11:28 PM
*/
namespace Youshido\Tests\DataProvider;
use Youshido\GraphQL\Schema;
use Youshido\GraphQL\Type\Config\TypeConfigInterface;
use Youshido\GraphQL\Type\ListType\ListType;
class TestSchema extends Schema
{
public function build(TypeConfigInterface $config)
$config
->addField('users', new ListType(['item' => new UserType()]));
}
public function getName()
return 'TestSchema';