function RequestStack::getMasterRequest

File

core/lib/Drupal/Core/Http/RequestStack.php, line 33

Class

RequestStack
Forward-compatibility shim for Symfony's RequestStack.

Namespace

Drupal\Core\Http

Code

public function getMasterRequest() {
    @trigger_error(__METHOD__ . '() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use getMainRequest() instead. See https://www.drupal.org/node/3253744', E_USER_DEPRECATED);
    return $this->getMainRequest();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.