예제 #1
0
 /**
  * @inheritdoc
  */
 public function isSameValueAs(ValueObjectInterface $object)
 {
     if (!$object instanceof Direction) {
         return false;
     }
     return $this->isUp() == $object->isUp();
 }