IcuResFileLoader

class IcuResFileLoader implements LoaderInterface IcuResFileLoader loads translations from a resource bundle. Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A

IcuVersion::compare()

static bool compare(string $version1, string $version2, string $operator, int|null $precision = null) Compares two ICU versions with an operator. This method is identical to {@link version_compare()}, except that you can pass the number of regarded version components in the last argument $precision. Also, a single digit release version and a single digit major version are contracted to a two digit release version. If no major version is given, it is substituted by zero

Iban

class Iban extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. INVALID_COUNTRY_CODE_ERROR INVALID_CHARACTERS_ERROR CHECKSUM_FAILED_ERROR INVALID_FORMAT_ERROR NOT_SUPPORTED_COUNTRY_CODE_ERROR Properties mixed $payload Domain-specific data attached to a constraint.

IcuDatFileLoader

class IcuDatFileLoader extends IcuResFileLoader IcuResFileLoader loads translations from a resource bundle. Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A Me

IbanValidator

class IbanValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details initiali

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

HttpUtils::createRequest()

Request createRequest(Request $request, string $path) Creates a Request. Parameters Request $request The current Request instance string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) Return Value Request A Request instance

HttpUtils::createRedirectResponse()

RedirectResponse createRedirectResponse(Request $request, string $path, int $status = 302) Creates a redirect Response. Parameters Request $request A Request instance string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) int $status The status code Return Value RedirectResponse A RedirectResponse instance

HttpUtils

class HttpUtils Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs. Methods __construct(UrlGeneratorInterface $urlGenerator = null, UrlMatcherInterface|RequestMatcherInterface $urlMatcher = null) Constructor. RedirectResponse createRedirectResponse(Request $request, string $path, int $status = 302) Creates a redirect Response. Request createRequest(Request $request, string $path) Creates a Request. bool checkRequestPath(Request $request

HttpUtils::checkRequestPath()

bool checkRequestPath(Request $request, string $path) Checks that a given path matches the Request. 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 bool true if the path is the same as the one from the Request, false otherwise