A helper providing autocompletion for available DateTimeNormalizer options.
- author Mathias Arlaud
CloneableFinalInstantiable
| Methods |
public toArray() : array
|
public withCast(?string $cast) : static
|
public withContext(Symfony
|
| public withFormat(?string $format) : static Configures the format of the date.
|
| public withTimezone(DateTimeZone|string|?null $timezone) : static Configures the timezone of the date. It could be either a \DateTimeZone or a string that will be used to construct the \DateTimeZone
|
| Methods |
| protected with(string $key, ?mixed $value) : static |
| Properties |
private array $context = []
|