src/Role/Role.php
public function rename(
        UUID $uuid,
        StringLiteral $name
    ) {
        $this->apply(new RoleRenamed($uuid, $name));
    }
public function rename(
        UUID $uuid,
        StringLiteral $name
    ) {
        $this->apply(new RoleRenamed($uuid, $name));
    }
public function rename ( UUID $ uuid , StringLiteral $ name ) { $ this -> apply ( new RoleRenamed ( $ uuid , $ name ) ) ; }
Rename the role.

@param UUID $uuid
@param StringLiteral $name
Rename the role .