- Created a new template for the cart rule form with custom label, switch, and choice widgets. - Implemented the InPost Pay block in the order details template for displaying delivery method, APM, and VAT invoice request. - Added legacy support for the order details template to maintain compatibility with older PrestaShop versions.
21 lines
384 B
PHP
21 lines
384 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace izi\prestashop\Analytics\Cookie\Factory;
|
|
|
|
use Symfony\Component\HttpFoundation\Cookie;
|
|
|
|
interface CookieFactoryInterface
|
|
{
|
|
public function create(
|
|
$name,
|
|
$value,
|
|
int $expire = 0,
|
|
string $path = '/',
|
|
string $domain = '',
|
|
bool $secure = false,
|
|
bool $httpOnly = true
|
|
): Cookie;
|
|
}
|