Client::followRedirects()

followRedirects(bool $followRedirect = true) Sets whether to automatically follow redirects or not. Parameters bool $followRedirect Whether to follow redirects

RequestAttributeValueResolver::resolve()

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

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

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

UnexpectedTypeException

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

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

Cookie::getRawValue()

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

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

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

AbstractType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name