Documentation

DateConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$format  : mixed
$intervalFormat  : mixed
$timezone  : mixed

Methods

__construct()  : mixed
format()  : $this
intervalFormat()  : $this
timezone()  : $this
The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used
toArray()  : array<string|int, mixed>

Properties

$_usedProperties

private mixed $_usedProperties = []

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

timezone()

The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used

public timezone(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
default

null

Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results