Files
TwoFactorAuth/tests/Providers/Time/TestTimeProvider.php
T
William Hall 33a32cb099 📚 doc blocks
2021-03-08 18:24:44 +00:00

28 lines
402 B
PHP

<?php
namespace Tests\Providers\Time;
use RobThree\Auth\Providers\Time\ITimeProvider;
class TestTimeProvider implements ITimeProvider
{
/** @var int */
private $time;
/**
* @param int $time
*/
function __construct($time)
{
$this->time = $time;
}
/**
* {@inheritdoc}
*/
public function getTime()
{
return $this->time;
}
}