FullTransformer deprecated
class FullTransformer extends FullTransformer
deprecated
Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\FullTransformer}.
Methods
Return the formatted ICU value for the matched date characters.
Retrieve a regular expression to match with a formatted value.
Check if the first char of a string is a single quote.
Replaces single quotes at the start or end of a string with two single quotes.
Details
in FullTransformer at line line 45
__construct(string $pattern, string $timezone)
Constructor.
in FullTransformer at line line 79
Transformer[]
getTransformers()
Return the array of Transformer objects.
in FullTransformer at line line 91
string
format(DateTime $dateTime)
Format a DateTime using ICU dateformat pattern.
in FullTransformer at line line 112
string
formatReplace(string $dateChars, DateTime $dateTime)
Return the formatted ICU value for the matched date characters.
in FullTransformer at line line 142
int
parse(DateTime $dateTime, string $value)
Parse a pattern based string to a timestamp value.
in FullTransformer at line line 179
string
getReverseMatchingRegExp(string $pattern)
Retrieve a regular expression to match with a formatted value.
in FullTransformer at line line 217
bool
isQuoteMatch(string $quoteMatch)
Check if the first char of a string is a single quote.
in FullTransformer at line line 229
string
replaceQuoteMatch(string $quoteMatch)
Replaces single quotes at the start or end of a string with two single quotes.