for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Src\UseCases\Domain\Context\Dto;
class PractiseVo
{
private $pageId;
private $label;
private $doneAt;
public function __construct(int $pageId, string $label, \DateTime $doneAt = null)
$this->pageId = $pageId;
$this->label = $label;
$this->doneAt = $doneAt;
}
public function doneAt():?\DateTime
return $this->doneAt;
public function toArray()
return [
'page_id' => $this->pageId,
'label' => $this->label,
];