for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace PersonalGalaxy\Calendar\Event\Event;
use PersonalGalaxy\Calendar\Entity\Event\{
Identity,
Note,
};
final class NoteWasAdded
{
private $identity;
private $note;
public function __construct(Identity $identity, Note $note)
$this->identity = $identity;
$this->note = $note;
}
public function identity(): Identity
return $this->identity;
public function note(): Note
return $this->note;