| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | 1 | public static function create(string $requestId, string $timestamp, string $token, int $offsetInMilliseconds, string $locale): self |
|
| 22 | { |
||
| 23 | 1 | $playbackStarted = new self(); |
|
| 24 | |||
| 25 | 1 | $playbackStarted->type = self::TYPE; |
|
| 26 | 1 | $playbackStarted->setProperties($requestId, $timestamp, $token, $offsetInMilliseconds, $locale); |
|
| 27 | |||
| 28 | 1 | return $playbackStarted; |
|
| 29 | } |
||
| 31 |