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