class DateTimeDefaultPrecision

Methods

static 
set(int$precision)

Change the default Doctrine datetime and datetime_immutable precision.

static int
get()

Get the default Doctrine datetime and datetime_immutable precision.

Details

at line23
static set(int$precision)

Change the default Doctrine datetime and datetime_immutable precision.

Parameters

int $precision

at line33
staticint get()

Get the default Doctrine datetime and datetime_immutable precision.

Return Value

int