original_string: public function getAll(Request $request)
      {
          $this->authorize(MediasPolicy::PERMISSION_LIST);
  
          return $this->jsonResponseSuccess([
              'medias' => $this->media->all(
                  $request->get('location', '/')
              ),
          ]);
      }
code: public function getAll(Request $request)
      {
          $this->authorize(MediasPolicy::PERMISSION_LIST);
  
          return $this->jsonResponseSuccess([
              'medias' => $this->media->all(
                  $request->get('location', '/')
              ),
          ]);
      }
code_tokens: public function getAll ( Request $ request ) { $ this -> authorize ( MediasPolicy :: PERMISSION_LIST ) ; return $ this -> jsonResponseSuccess ( [ 'medias' => $ this -> media -> all ( $ request -> get ( 'location' , '/' ) ) , ] ) ; }
docstring: Get the the media files.
  
  @param  \Illuminate\Http\Request  $request
  
  @return \Illuminate\Http\JsonResponse
docstring_tokens: Get the the media files .