GraphQL\Tests\Type\SchemaValidatorTest::withModifiers PHP Method

withModifiers() private method

private withModifiers ( $types )
    private function withModifiers($types)
    {
        return array_merge(Utils::map($types, function ($type) {
            return Type::listOf($type);
        }), Utils::map($types, function ($type) {
            return Type::nonNull($type);
        }), Utils::map($types, function ($type) {
            return Type::nonNull(Type::listOf($type));
        }));
    }
SchemaValidatorTest