Symfony\Component\Locale\Stub\DateFormat\MonthTransformer
Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MonthTransformer}.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class MonthTransformer
extends MonthTransformer
{
- // Inherited members from MonthTransformer
- protected array $months;
- protected array $shortMonths;
- protected array $flippedMonths;
- protected array $flippedShortMonths;
- // Inherited methods from MonthTransformer
- public void __construct()
- public void format()
- public void getReverseMatchingRegExp()
- public void extractDateOptions()
- // Inherited methods from Transformer
- public abstract string format()
- public abstract string getReverseMatchingRegExp()
- public abstract array extractDateOptions()
- protected string padLeft()
Hierarchy
Members
protected
- $flippedMonths
—
array
Flipped $months array, $name => $index - $flippedShortMonths
—
array
Flipped $shortMonths array, $name => $index - $months — array
- $shortMonths
—
array
Short months names (first 3 letters)
Methods
Inherited from Symfony\Component\Intl\DateFormatter\DateFormat\MonthTransformer
public
- extractDateOptions() — {@inheritDoc}
- format() — {@inheritDoc}
- getReverseMatchingRegExp() — {@inheritDoc}
Inherited from Symfony\Component\Intl\DateFormatter\DateFormat\Transformer
protected
- padLeft() — Pad a string with zeros to the left
public
- extractDateOptions() — Extract date options from a matched value returned by the processing of the reverse matching regular expression
- format() — Format a value using a configured DateTime as date/time source
- getReverseMatchingRegExp() — Returns a reverse matching regular expression of a string generated by format()