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();
        }