Krucas\LaravelUserEmailVerification\DatabaseTokenRepository::__construct PHP Method

__construct() public method

Create a new token repository instance.
public __construct ( Illuminate\Database\ConnectionInterface $connection, string $table, string $hashKey, integer $expires )
$connection Illuminate\Database\ConnectionInterface
$table string
$hashKey string
$expires integer
    public function __construct(ConnectionInterface $connection, $table, $hashKey, $expires = 0)
    {
        $this->table = $table;
        $this->hashKey = $hashKey;
        $this->expires = $expires;
        $this->connection = $connection;
    }