GraphQL\Tests\Validator\QuerySecuritySchema::buildDogType PHP Method

buildDogType() public static method

public static buildDogType ( )
    public static function buildDogType()
    {
        if (null !== self::$dogType) {
            return self::$dogType;
        }
        self::$dogType = new ObjectType(['name' => 'Dog', 'fields' => ['name' => ['type' => Type::nonNull(Type::string())], 'master' => ['type' => self::buildHumanType()]]]);
        return self::$dogType;
    }