Evaluates an expression for elements of a structured value.
Since: 1.0
Author: Bernhard Schussek (bschussek@gmail.com)
Inheritance: extends Webmozart\Expression\Logic\Literal
示例#1
0
 /**
  * {@inheritdoc}
  */
 public function equivalentTo(Expression $other)
 {
     if (!parent::equivalentTo($other)) {
         return false;
     }
     /* @var static $other */
     return $this->propertyName === $other->propertyName;
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function equivalentTo(Expression $other)
 {
     if (!parent::equivalentTo($other)) {
         return false;
     }
     /* @var static $other */
     return $this->methodName === $other->methodName && $this->arguments === $other->arguments;
 }
示例#3
0
 public function __construct($key, Expression $expr)
 {
     parent::__construct($expr);
     $this->key = $key;
 }