public equivalentTo ( Webmozart\Expression\Expression $other ) | ||
$other | Webmozart\Expression\Expression |
/** * {@inheritdoc} */ public function equivalentTo(Expression $other) { if (!parent::equivalentTo($other)) { return false; } /* @var static $other */ return $this->methodName === $other->methodName && $this->arguments === $other->arguments; }
/** * {@inheritdoc} */ public function equivalentTo(Expression $other) { if (!parent::equivalentTo($other)) { return false; } /* @var static $other */ return $this->propertyName === $other->propertyName; }