QuarterTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

QuarterTransformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

QuarterTransformer

class QuarterTransformer extends Transformer Parser and formatter for quarter format. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching reg

QuarterTransformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array

QuarterTransformer deprecated

class QuarterTransformer extends QuarterTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\QuarterTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\QuarterTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from QuarterTransformer string getReverseMatchingRegExp(int $length) Returns a reverse

Psr6CacheClearer::clear()

clear(string $cacheDir) Clears any caches necessary. Parameters string $cacheDir The cache directory.

QtFileDumper

class QtFileDumper extends FileDumper QtFileDumper generates ts files from a message catalogue. Methods setRelativePathTemplate(string $relativePathTemplate) Sets the template for the relative paths to files. from FileDumper setBackup(bool $backup) Sets backup flag. from FileDumper dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. from FileDumper string formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array())

Psr6CacheClearer::addPool()

addPool(CacheItemPoolInterface $pool) Parameters CacheItemPoolInterface $pool

QtFileLoader

class QtFileLoader implements LoaderInterface QtFileLoader loads translations from QT Translations XML files. 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

Psr6Cache

class Psr6Cache implements CacheInterface PSR-6 adapter. Methods __construct(CacheItemPoolInterface $cacheItemPool) has(string $class) Returns whether metadata for the given class exists in the cache. ClassMetadata|false read(string $class) Returns the metadata for the given class from the cache. write(ClassMetadata $metadata) Stores a class metadata in the cache. Details __construct(CacheItemPoolInterface $cacheItemPool) Param