JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/modules/mollie/subscription/Utility/
Upload File :
Current File : /home/cinepatreb/billetterie/modules/mollie/subscription/Utility/Clock.php

<?php
/**
 * Mollie       https://www.mollie.nl
 *
 * @author      Mollie B.V. <info@mollie.nl>
 * @copyright   Mollie B.V.
 * @license     https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
 *
 * @see        https://github.com/mollie/PrestaShop
 * @codingStandardsIgnoreStart
 */

declare(strict_types=1);

namespace Mollie\Subscription\Utility;

if (!defined('_PS_VERSION_')) {
    exit;
}

class Clock implements ClockInterface
{
    public function getCurrentDate(string $format = 'Y-m-d H:i:s'): string
    {
        return date($format);
    }

    public function getDateFromTimeStamp(int $timestamp, string $format = 'Y-m-d H:i:s'): string
    {
        return date($format, $timestamp);
    }
}

xxxxx1.0, XXX xxxx