src/Role/Role.php
public function removePermission(
        UUID $uuid,
        Permission $permission
    ) {
        if (in_array($permission, $this->permissions)) {
            $this->apply(new PermissionRemoved($uuid, $permission));
        }
    }
public function removePermission(
        UUID $uuid,
        Permission $permission
    ) {
        if (in_array($permission, $this->permissions)) {
            $this->apply(new PermissionRemoved($uuid, $permission));
        }
    }
public function removePermission ( UUID $ uuid , Permission $ permission ) { if ( in_array ( $ permission , $ this -> permissions ) ) { $ this -> apply ( new PermissionRemoved ( $ uuid , $ permission ) ) ; } }
Remove a permission from the role.

@param UUID $uuid
@param Permission $permission
Remove a permission from the role .