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

aggregateId() protected method

protected aggregateId ( ) : string
return string representation of the unique identifier of the aggregate root
    protected function aggregateId()
    {
        throw new \BadMethodCallException('The AggregateRootDecorator does not have an id');
    }