public function newNestedInstance(Closure $closure = null)
    {
        $query = $this->newInstance()->nested();

        if ($closure) {
            call_user_func($closure, $query);
        }

        return $query;
    }
public function newNestedInstance(Closure $closure = null)
    {
        $query = $this->newInstance()->nested();

        if ($closure) {
            call_user_func($closure, $query);
        }

        return $query;
    }
public function newNestedInstance ( Closure $ closure = null ) { $ query = $ this -> newInstance ( ) -> nested ( ) ; if ( $ closure ) { call_user_func ( $ closure , $ query ) ; } return $ query ; }
Returns a new nested Query Builder instance.

@param Closure|null $closure

@return $this
Returns a new nested Query Builder instance .