/**
  * Get all the tokens - not allowed without parameters,
  *
  * @return Response Collection of Resources
  */
 public function index($input = null)
 {
     // Input is being passed as a parameter so that we can mock it easily for the tests
     // If it is not a test, we'll use the facade:
     if (!$input) {
         $input = Input::all();
     }
     $data = \App\Models\SharedFileRecipient::search($input);
     $records = $this->getRecords($input);
     $data = $data->paginate($records);
     $collection = $this->getResourceCollectionWithPagination($data, $this->transformer);
     return $this->respondOK($collection);
 }