for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PascalDeVink\CloudEvents\V03;
use DateTimeImmutable;
class EventTime
{
private DateTimeImmutable $value;
public function __construct(DateTimeImmutable $value)
$this->value = $value;
}
public function __toString() : string
return $this->value->format(DateTimeImmutable::RFC3339);