mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-20 09:13:05 +00:00
21 lines
305 B
PHP
21 lines
305 B
PHP
<?php
|
|
|
|
namespace Tests\Providers\Time;
|
|
|
|
use RobThree\Auth\Providers\Time\ITimeProvider;
|
|
|
|
class TestTimeProvider implements ITimeProvider
|
|
{
|
|
private $time;
|
|
|
|
function __construct($time)
|
|
{
|
|
$this->time = $time;
|
|
}
|
|
|
|
public function getTime()
|
|
{
|
|
return $this->time;
|
|
}
|
|
}
|