Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Psr\Cache\CacheItemPoolInterface;
use Symfony\Component\Cache\Adapter\TagAwareAdapter;
use Symfony\Contracts\Cache\CacheInterface;
use Symfony\Contracts\Cache\TagAwareCacheInterface;
use Twig\Extra\Cache\CacheExtension;
use Twig\Extra\Cache\CacheRuntime;
return static function (ContainerConfigurator $container) {
$service = \function_exists('Symfony\Component\DependencyInjection\Loader\Configurator\service') ? 'Symfony\Component\DependencyInjection\Loader\Configurator\service' : 'Symfony\Component\DependencyInjection\Loader\Configurator\ref';
$container->services()
->set('twig.extension.cache', CacheExtension::class)
->tag('twig.extension')
->set('twig.runtime.cache', CacheRuntime::class)
->args([
$service('twig.cache'),
])
->tag('twig.runtime')
->set('twig.cache', TagAwareAdapter::class)
->args([
$service('.twig.cache.inner'),
])
->set('.twig.cache.inner')
->parent('cache.app')
->tag('cache.pool', ['name' => 'twig.cache'])
->alias(TagAwareCacheInterface::class.' $twigCache', 'twig.cache')
->alias(CacheInterface::class.' $twigCache', '.twig.cache.inner')
->alias(CacheItemPoolInterface::class.' $twigCache', '.twig.cache.inner')
;
};

View File

@@ -0,0 +1,21 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\CssInliner\CssInlinerExtension;
return static function (ContainerConfigurator $container) {
$container->services()
->set('twig.extension.cssinliner', CssInlinerExtension::class)
->tag('twig.extension')
;
};

View File

@@ -0,0 +1,21 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\Html\HtmlExtension;
return static function (ContainerConfigurator $container) {
$container->services()
->set('twig.extension.html', HtmlExtension::class)
->tag('twig.extension')
;
};

View File

@@ -0,0 +1,21 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\Inky\InkyExtension;
return static function (ContainerConfigurator $container) {
$container->services()
->set('twig.extension.inky', InkyExtension::class)
->tag('twig.extension')
;
};

View File

@@ -0,0 +1,21 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\Intl\IntlExtension;
return static function (ContainerConfigurator $container) {
$container->services()
->set('twig.extension.intl', IntlExtension::class)
->tag('twig.extension')
;
};

View File

@@ -0,0 +1,32 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\Markdown\DefaultMarkdown;
use Twig\Extra\Markdown\MarkdownExtension;
use Twig\Extra\Markdown\MarkdownRuntime;
return static function (ContainerConfigurator $container) {
$service = \function_exists('Symfony\Component\DependencyInjection\Loader\Configurator\service') ? 'Symfony\Component\DependencyInjection\Loader\Configurator\service' : 'Symfony\Component\DependencyInjection\Loader\Configurator\ref';
$container->services()
->set('twig.extension.markdown', MarkdownExtension::class)
->tag('twig.extension')
->set('twig.runtime.markdown', MarkdownRuntime::class)
->args([
$service('twig.markdown.default'),
])
->tag('twig.runtime')
->set('twig.markdown.default', DefaultMarkdown::class)
;
};

View File

@@ -0,0 +1,31 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use League\CommonMark\CommonMarkConverter;
use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument;
use Twig\Extra\Markdown\LeagueMarkdown;
use Twig\Extra\TwigExtraBundle\LeagueCommonMarkConverterFactory;
return static function (ContainerConfigurator $container) {
$service = \function_exists('Symfony\Component\DependencyInjection\Loader\Configurator\service') ? 'Symfony\Component\DependencyInjection\Loader\Configurator\service' : 'Symfony\Component\DependencyInjection\Loader\Configurator\ref';
$container->services()
->set('twig.markdown.league_common_mark_converter_factory', LeagueCommonMarkConverterFactory::class)
->args([new TaggedIteratorArgument('twig.markdown.league_extension')])
->set('twig.markdown.league_common_mark_converter', CommonMarkConverter::class)
->factory($service('twig.markdown.league_common_mark_converter_factory'))
->set('twig.markdown.default', LeagueMarkdown::class)
->args([$service('twig.markdown.league_common_mark_converter')])
;
};

View File

@@ -0,0 +1,21 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\String\StringExtension;
return static function (ContainerConfigurator $container) {
$container->services()
->set('twig.extension.string', StringExtension::class)
->tag('twig.extension')
;
};

View File

@@ -0,0 +1,20 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Twig\Extra\TwigExtraBundle\MissingExtensionSuggestor;
return static function (ContainerConfigurator $container) {
$container->services()
->set('twig.missing_extension_suggestor', MissingExtensionSuggestor::class)
;
};