src/models/Permissions/PermissionProvider.php
public function findById($id)
    {
        if(!$permission = $this->createModel()->newQuery()->find($id)) {
            throw new PermissionNotFoundException("A permission could not be found with ID [$id].");
        }

        return $permission;
    }
public function findById($id)
    {
        if(!$permission = $this->createModel()->newQuery()->find($id)) {
            throw new PermissionNotFoundException("A permission could not be found with ID [$id].");
        }

        return $permission;
    }
Find a permission by the given permission id
@param  int $id
@return Permission