for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CultuurNet\UDB3\Label\Events;
use CultuurNet\UDB3\Label\ValueObjects\LabelName;
use ValueObjects\Identity\UUID;
final class MadeInvisible extends AbstractEvent
{
public static function deserialize(array $data): MadeInvisible
return new self(
new UUID($data[self::UUID]),
new LabelName($data[self::NAME])
);
}