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