original_string: protected function getControllerParameters(Request $request, array $parameters): array
      {
          $result = [$request];
  
          foreach ($parameters as $key => $value) {
              if (strpos($key, '_') !== 0) {
                  $result[$key] = $value;
              }
          }
  
          return $result;
      }
code: protected function getControllerParameters(Request $request, array $parameters): array
      {
          $result = [$request];
  
          foreach ($parameters as $key => $value) {
              if (strpos($key, '_') !== 0) {
                  $result[$key] = $value;
              }
          }
  
          return $result;
      }
code_tokens: protected function getControllerParameters ( Request $ request , array $ parameters ) : array { $ result = [ $ request ] ; foreach ( $ parameters as $ key => $ value ) { if ( strpos ( $ key , '_' ) !== 0 ) { $ result [ $ key ] = $ value ; } } return $ result ; }
docstring: Returns arguments for controller callback.
  
  @param Request $request
  @param array $parameters
  @return array
docstring_tokens: Returns arguments for controller callback .