public function Request::setRequestFormat

Sets the request format.

@api

Parameters

string $format The request format.:

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php, line 1227

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function setRequestFormat($format) {
  $this->format = $format;
}