Route::getRequirement()

string|null getRequirement(string $key) Returns the requirement for the given key. Parameters string $key The key Return Value string|null The regex or null when not given

AssetsExtension deprecated::getAssetUrl()

string getAssetUrl(string $path, string $packageName = null, bool $absolute = false, string|bool|null $version = null) Returns the public path of an asset. Absolute paths (i.e. http://...) are returned unmodified. Parameters string $path A public path string $packageName The name of the asset package to use bool $absolute Whether to return an absolute URL or a relative one string|bool|null $version A specific version Return Value string A public path which takes into account th

Cookie::getRawValue()

string getRawValue() Gets the raw value of the cookie. Return Value string The cookie value

RequestAttributeValueResolver::supports()

bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. Parameters Request $request ArgumentMetadata $argument Return Value bool

UnexpectedTypeException

class UnexpectedTypeException extends ValidatorException Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

DefaultValueResolver::supports()

bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. Parameters Request $request ArgumentMetadata $argument Return Value bool

Request::getRequestFormat()

string getRequestFormat(string $default = 'html') Gets the request format. Here is the process to determine the format: format defined by the user (with setRequestFormat()) _format request attribute $default Parameters string $default The default format Return Value string The request format

RequestAttributeValueResolver::resolve()

Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Parameters Request $request ArgumentMetadata $argument Return Value Generator

HttpKernel::terminate()

terminate(Request $request, Response $response) Terminates a request/response cycle. Should be called after sending the response and before shutting down the kernel. Parameters Request $request A Request instance Response $response A Response instance

OptionDefinitionException

class OptionDefinitionException extends LogicException implements ExceptionInterface Thrown when two lazy options have a cyclic dependency.