| Conditions | 6 | 
| Paths | 6 | 
| Total Lines | 11 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 17 | final public function equals(ObjectInterface $object = null) | ||
| 18 |     { | ||
| 19 |         if ($object === $this) { | ||
| 20 | return true; | ||
| 21 | } | ||
| 22 | /* @var $object AbstractAggregateId */ | ||
| 23 | return $object !== null | ||
| 24 | && ($this->getClassName() === $object->getClassName() || $object instanceof GenericAggregateId) | ||
| 25 | && $this->value() === $object->value() | ||
| 26 | && $this->aggregateClass() === $object->aggregateClass(); | ||
| 27 | } | ||
| 28 | |||
| 37 |