public function removeRoleByTitle(string $title)
    {

        $role = RoleModel::where('title', $title)->first();
        $this->removeRole($role->id);
    }
public function removeRoleByTitle(string $title)
    {

        $role = RoleModel::where('title', $title)->first();
        $this->removeRole($role->id);
    }
public function removeRoleByTitle ( string $ title ) { $ role = RoleModel :: where ( 'title' , $ title ) -> first ( ) ; $ this -> removeRole ( $ role -> id ) ; }
Remove a role by title.

@param string $title
Remove a role by title .