public function extractAggregateId(AggregateRoot $anAggregateRoot) { return $anAggregateRoot->aggregateId(); }