Prooph\EventSourcing\AggregateChanged::setAggregateId PHP Method

setAggregateId() protected method

protected setAggregateId ( string $aggregateId )
$aggregateId string
    protected function setAggregateId($aggregateId)
    {
        Assertion::string($aggregateId);
        Assertion::notEmpty($aggregateId);
        $this->metadata['aggregate_id'] = $aggregateId;
    }