added reporting screen (#1805)
This commit is contained in:
@@ -25,6 +25,10 @@ class Day
|
||||
* @var DateTime
|
||||
*/
|
||||
protected $day;
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $details = [];
|
||||
|
||||
public function __construct(DateTime $day, int $duration, float $rate)
|
||||
{
|
||||
@@ -61,4 +65,16 @@ class Day
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setDetails(array $details): Day
|
||||
{
|
||||
$this->details = $details;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDetails(): array
|
||||
{
|
||||
return $this->details;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user