src/Selector/Method.php
public function evaluate($value)
    {
        if (!is_object($value)) {
            return false;
        }

        if (!method_exists($value, $this->methodName)) {
            return false;
        }

        return $this->expr->evaluate(call_user_func_array(array($value, $this->methodName), $this->arguments));
    }
public function evaluate($value)
    {
        if (!is_object($value)) {
            return false;
        }

        if (!method_exists($value, $this->methodName)) {
            return false;
        }

        return $this->expr->evaluate(call_user_func_array(array($value, $this->methodName), $this->arguments));
    }
{@inheritdoc}