BookStack\Repos\PermissionsRepo::getRoleById PHP Method

getRoleById() public method

Get a role via its ID.
public getRoleById ( $id ) : mixed
$id
return mixed
    public function getRoleById($id)
    {
        return $this->role->findOrFail($id);
    }