LMongo\Query\Cursor::__call PHP 메소드

__call() 공개 메소드

Route the original MongoCursor method
public __call ( string $method, array $arguments ) : mixed
$method string
$arguments array
리턴 mixed
    public function __call($method, $arguments)
    {
        $return = call_user_func_array(array($this->cursor, $method), $arguments);
        if ($return instanceof MongoCursor) {
            return $this;
        }
        return $return;
    }