You are here

public function RequestContext::setPathInfo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/RequestContext.php \Symfony\Component\Routing\RequestContext::setPathInfo()

Sets the path info.

Parameters

string $pathInfo The path info:

Return value

RequestContext The current instance, implementing a fluent interface

2 calls to RequestContext::setPathInfo()
RequestContext::fromRequest in vendor/symfony/routing/RequestContext.php
Updates the RequestContext information based on a HttpFoundation Request.
RequestContext::__construct in vendor/symfony/routing/RequestContext.php
Constructor.

File

vendor/symfony/routing/RequestContext.php, line 126

Class

RequestContext
Holds information about the current request.

Namespace

Symfony\Component\Routing

Code

public function setPathInfo($pathInfo) {
  $this->pathInfo = $pathInfo;
  return $this;
}