Total Complexity | 1 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class PlayerSessionEvent |
||
10 | { |
||
11 | /** @var string */ |
||
12 | public $type; |
||
13 | |||
14 | /** @var DateTimeInterface */ |
||
15 | public $emittedAt; |
||
16 | |||
17 | /** @var int|null */ |
||
18 | public $at; |
||
19 | |||
20 | /** @var int|null */ |
||
21 | public $from; |
||
22 | |||
23 | /** @var int|null */ |
||
24 | public $to; |
||
25 | |||
26 | /** |
||
27 | * SessionEvent constructor. |
||
28 | * @param string $type |
||
29 | * @param DateTimeInterface $emittedAt |
||
30 | * @param int|null $at |
||
31 | * @param int|null $from |
||
32 | * @param int|null $to |
||
33 | */ |
||
34 | public function __construct($type, DateTimeInterface $emittedAt, $at, $from, $to) |
||
43 |