summaryrefslogtreecommitdiff
path: root/matrix-specification/Events/SenderEvent.php
blob: f3d4ceb70b1b7cfb56dc4645239e979ff334f3b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace Matrix\Events;

use Matrix\Enums\EventType;

abstract class SenderEvent extends Event
{
  /**
   * @param array<string, mixed> $content
   */
  public function __construct(
    array $content,
    protected string $sender,
    EventType $type,
  )
  {
    parent::__construct($content, $type);
  }
}