original_string: public function index()
      {
          $model = $this->modelFullName;
          $collection = $model::all();
          if($collection->isEmpty()) throw new NotFoundException('There Are No Resources Named "' . $this->getResourceName() . '" Yet');
          return $collection;
      }
code: public function index()
      {
          $model = $this->modelFullName;
          $collection = $model::all();
          if($collection->isEmpty()) throw new NotFoundException('There Are No Resources Named "' . $this->getResourceName() . '" Yet');
          return $collection;
      }
code_tokens: public function index ( ) { $ model = $ this -> modelFullName ; $ collection = $ model :: all ( ) ; if ( $ collection -> isEmpty ( ) ) throw new NotFoundException ( 'There Are No Resources Named "' . $ this -> getResourceName ( ) . '" Yet' ) ; return $ collection ; }
docstring: Return a listing of the resource.
  
  @return \Illuminate\Database\Eloquent\Collection
docstring_tokens: Return a listing of the resource .