blob: 0fc2d124292127e9bf1e6050f3b23f7e80b0283f [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Tests\Providers\Time;
4
5use RobThree\Auth\Providers\Time\ITimeProvider;
6
7class TestTimeProvider implements ITimeProvider
8{
9 /** @var int */
10 private $time;
11
12 /**
13 * @param int $time
14 */
15 function __construct($time)
16 {
17 $this->time = $time;
18 }
19
20 /**
21 * {@inheritdoc}
22 */
23 public function getTime()
24 {
25 return $this->time;
26 }
27}