original_string: public static function delete($name = null, $default = null)
      {
          $parsedBody = app()->request->getParsedBody();
  
          if (is_null($name)) {
              return $parsedBody;
          }
  
          if (isset($parsedBody[$name])) {
              return $parsedBody[$name];
          }
  
          return $default;
      }
code: public static function delete($name = null, $default = null)
      {
          $parsedBody = app()->request->getParsedBody();
  
          if (is_null($name)) {
              return $parsedBody;
          }
  
          if (isset($parsedBody[$name])) {
              return $parsedBody[$name];
          }
  
          return $default;
      }
code_tokens: public static function delete ( $ name = null , $ default = null ) { $ parsedBody = app ( ) -> request -> getParsedBody ( ) ; if ( is_null ( $ name ) ) { return $ parsedBody ; } if ( isset ( $ parsedBody [ $ name ] ) ) { return $ parsedBody [ $ name ] ; } return $ default ; }
docstring: Retrieves DELETE parameter.
  
  @param string $name Name of DELETE parameter, if null then all parameter will be returned
  @param mixed $default Default value returned if *$name* is not null but does not exist in DELETE request
  
  @return mixed
docstring_tokens: Retrieves DELETE parameter .