public function resolve($value, array $args, $context, ResolveInfo $info)
    {
        $result = call_user_func_array(
            $this->connectionResolver,
            func_get_args()
        );

        if (!$result instanceof SS_List) {
            throw new \Exception('Connection::resolve() must resolve to a SS_List instance.');
        }

        return $this->resolveList($result, $args, $context, $info);
    }
public function resolve($value, array $args, $context, ResolveInfo $info)
    {
        $result = call_user_func_array(
            $this->connectionResolver,
            func_get_args()
        );

        if (!$result instanceof SS_List) {
            throw new \Exception('Connection::resolve() must resolve to a SS_List instance.');
        }

        return $this->resolveList($result, $args, $context, $info);
    }
public function resolve ( $ value , array $ args , $ context , ResolveInfo $ info ) { $ result = call_user_func_array ( $ this -> connectionResolver , func_get_args ( ) ) ; if ( ! $ result instanceof SS_List ) { throw new \ Exception ( 'Connection::resolve() must resolve to a SS_List instance.' ) ; } return $ this -> resolveList ( $ result , $ args , $ context , $ info ) ; }
Returns the collection resolved with the pageInfo provided.

@param mixed $value
@param array $args
@param array $context
@param ResolveInfo $info
@return array
@throws \Exception
Returns the collection resolved with the pageInfo provided .