trait HandleDates (View source)

Methods

array
prepareFieldsBeforeCreateHandleDates(array $fields)

No description

array
prepareFieldsBeforeSaveHandleDates(TwillModelContract|null $object, array $fields)

No description

array
prepareDatesField(array $fields, string $field)

No description

Details

array prepareFieldsBeforeCreateHandleDates(array $fields)

No description

Parameters

array $fields

Return Value

array

array prepareFieldsBeforeSaveHandleDates(TwillModelContract|null $object, array $fields)

No description

Parameters

TwillModelContract|null $object
array $fields

Return Value

array

array prepareDatesField(array $fields, string $field)

No description

Parameters

array $fields
string $field

Return Value

array