Ejemplo n.º 1
0
 /**
  * @param ValueObjectInterface $other
  * @return boolean
  */
 public function sameValueAs(ValueObjectInterface $other)
 {
     if (!$other instanceof StructureItem) {
         return false;
     }
     return EqualsBuilder::create()->append($this->key(), $other->key())->append($this->pathKeys(), $other->pathKeys())->append($this->valueType(), $other->valueType())->strict()->equals();
 }