My\Model\User::aggregateId PHP 메소드

aggregateId() 보호된 메소드

Every AR needs a hidden method that returns the identifier of the AR as a string
protected aggregateId ( ) : string
리턴 string representation of the unique identifier of the aggregate root
        protected function aggregateId()
        {
            return $this->uuid->toString();
        }