for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CultuurNet\UDB3\Event;
use Broadway\Serializer\SerializableInterface;
abstract class EventEvent implements SerializableInterface
{
/**
* @var string
*/
protected $eventId;
public function __construct(string $eventId)
$this->eventId = $eventId;
}
public function getEventId(): string
return $this->eventId;
public function serialize(): array
return [
'event_id' => $this->eventId,
];