* @since 3.2.0 */ class DraftEvent extends Event { /** * @var ElementInterface The canonical element */ public ElementInterface $canonical; /** * @var int|null The creator ID */ public ?int $creatorId = null; /** * @var bool Whether this is a provisional draft */ public bool $provisional = false; /** * @var string|null The draft name */ public ?string $draftName = null; /** * @var string|null The draft notes */ public ?string $draftNotes = null; /** * @var ElementInterface|null The draft associated with the event (if it exists yet) */ public ?ElementInterface $draft = null; }