/**
  * @param  int                       $id
  * @return array
  * @throws ResourceNotFoundException
  */
 protected function findById($id)
 {
     if ($resource = $this->model->retrieveOne($id)) {
         return $resource;
     }
     throw new ResourceNotFoundException("Resource with ID: {$id}, cannot be found");
 }