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

        $propertyName = $this->propertyName;

        if (!property_exists($value, $propertyName)) {
            return false;
        }

        return $this->expr->evaluate($value->$propertyName);
    }
public function evaluate($value)
    {
        if (!is_object($value)) {
            return false;
        }

        $propertyName = $this->propertyName;

        if (!property_exists($value, $propertyName)) {
            return false;
        }

        return $this->expr->evaluate($value->$propertyName);
    }
{@inheritdoc}