DueTrait
+ Inheritance diagram for DueTrait:

Description

Adds date helpers.

Public Methods

magic null string getDueOn ()
 Y-m-d More...
 
magic null string getStartOn ()
 Y-m-d More...
 
magic bool hasDueOn ()
 
magic bool hasStartOn ()
 
$this setDueOn ($date)
 
$this setStartOn ($date)
 
- Public Methods inherited from DateTimeTrait
null DateTimeInterface _getDateTime ()
 Returns a date-time field as an immutable object. More...
 

Methods

◆ getDueOn()

magic null string getDueOn ( )

Y-m-d

Returns
null|string

◆ getStartOn()

magic null string getStartOn ( )

Y-m-d

Returns
null|string

◆ hasDueOn()

magic bool hasDueOn ( )
Returns
bool

◆ hasStartOn()

magic bool hasStartOn ( )
Returns
bool

◆ setDueOn()

$this setDueOn (   $date)
Parameters
null | string | DateTimeInterface$date
Returns
$this

◆ setStartOn()

$this setStartOn (   $date)
Parameters
null | string | DateTimeInterface$date
Returns
$this