Evaluates an expression for elements of a structured value.
Since: 1.0
Author: Bernhard Schussek (bschussek@gmail.com)
Inheritance: extends Webmozart\Expression\Logic\Literal
Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function equivalentTo(Expression $other)
 {
     if (!parent::equivalentTo($other)) {
         return false;
     }
     /* @var static $other */
     return $this->propertyName === $other->propertyName;
 }
Esempio n. 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;
 }
Esempio n. 3
0
 public function __construct($key, Expression $expr)
 {
     parent::__construct($expr);
     $this->key = $key;
 }