Copied!

A helper providing autocompletion for available DateIntervalNormalizer options.

Cloneable Final Instantiable
Methods
public toArray () : array
 
  • return array
public withContext ( Symfony\Component\Serializer\Context\ContextBuilderInterface | array $context ) : static
 
  • param ContextBuilderInterface | array $context
public withFormat ( ? string $format ) : static
 

Configures the format of the interval.

  • see https://php.net/manual/en/dateinterval.format.php
Methods
protected with ( string $key , ? mixed $value ) : static
Properties
private array $context
 
  • var array
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration