Route::setHost()

Route setHost(string $pattern) Sets the pattern for the host. This method implements a fluent interface. Parameters string $pattern The host pattern Return Value Route The current Route instance

HttpExceptionInterface

interface HttpExceptionInterface Interface for HTTP error exceptions. Methods int getStatusCode() Returns the status code. array getHeaders() Returns response headers. Details int getStatusCode() Returns the status code. Return Value int An HTTP response status code array getHeaders() Returns response headers. Return Value array Response headers

Expression::isRegex()

bool isRegex() Return Value bool

TranslationCollectionFormListener::preSetData()

preSetData(FormEvent $event) Parameters FormEvent $event

GuardAuthenticationListener::setRememberMeServices()

setRememberMeServices(RememberMeServicesInterface $rememberMeServices) Should be called if this listener will support remember me. Parameters RememberMeServicesInterface $rememberMeServices

PropertyPathInterface::isIndex()

bool isIndex(int $index) Returns whether the element at the given index is an array index. Parameters int $index The index in the property path Return Value bool Whether the element at this index is an array index Exceptions OutOfBoundsException If the offset is invalid

AppVariable::getRequest()

Request|null getRequest() Returns the current request. Return Value Request|null The HTTP request object

RequestContext::fromRequest()

RequestContext fromRequest(Request $request) Updates the RequestContext information based on a HttpFoundation Request. Parameters Request $request A Request instance Return Value RequestContext The current instance, implementing a fluent interface

DOMCaster::castDomError()

static castDomError(DOMDomError $dom, array $a, Stub $stub, $isNested) Parameters DOMDomError $dom array $a Stub $stub $isNested

HttpUtils::generateUri()

string generateUri(Request $request, string $path) Generates a URI, based on the given path or absolute URL. Parameters Request $request A Request instance string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) Return Value string An absolute URL Exceptions LogicException