Prooph\EventSourcing\EventStoreIntegration\AggregateRootDecorator::extractAggregateId PHP Method

extractAggregateId() public method

public extractAggregateId ( AggregateRoot $anAggregateRoot ) : string
$anAggregateRoot Prooph\EventSourcing\AggregateRoot
return string
    public function extractAggregateId(AggregateRoot $anAggregateRoot)
    {
        return $anAggregateRoot->aggregateId();
    }