for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Date: 13.05.16
*
* @author Portey Vasil <[email protected]>
*/
namespace Youshido\Tests\DataProvider;
use Youshido\GraphQL\Type\Union\AbstractUnionType;
class TestUnionType extends AbstractUnionType
{
public function getTypes()
return [
new TestObjectType()
];
}
public function resolveType($object)
return $object;
public function getDescription()
return 'Union collect cars types';