Prooph\EventSourcing\EventStoreIntegration\AggregateRootDecorator::aggregateId PHP Метод

aggregateId() защищенный Метод

protected aggregateId ( ) : string
Результат string representation of the unique identifier of the aggregate root
    protected function aggregateId()
    {
        throw new \BadMethodCallException('The AggregateRootDecorator does not have an id');
    }