GraphQL\Tests\Type\SchemaValidatorTest::withModifiers PHP Метод

withModifiers() приватный Метод

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