Prooph\EventSourcing\AggregateChanged::setAggregateId PHP 메소드

setAggregateId() 보호된 메소드

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