Esempio n. 1
0
 /**
  * @param ValueObjectInterface $other
  * @return boolean
  */
 public function sameValueAs(ValueObjectInterface $other)
 {
     if (!$other instanceof Item) {
         return false;
     }
     return $this->data() === $other->data();
 }