login consent app sql
This commit is contained in:
33
vendor/symfony/twig-bundle/Resources/config/console.php
vendored
Normal file
33
vendor/symfony/twig-bundle/Resources/config/console.php
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* 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 Symfony\Bridge\Twig\Command\DebugCommand;
|
||||
use Symfony\Bundle\TwigBundle\Command\LintCommand;
|
||||
|
||||
return static function (ContainerConfigurator $container) {
|
||||
$container->services()
|
||||
->set('twig.command.debug', DebugCommand::class)
|
||||
->args([
|
||||
service('twig'),
|
||||
param('kernel.project_dir'),
|
||||
param('kernel.bundles_metadata'),
|
||||
param('twig.default_path'),
|
||||
service('debug.file_link_formatter')->nullOnInvalid(),
|
||||
])
|
||||
->tag('console.command')
|
||||
|
||||
->set('twig.command.lint', LintCommand::class)
|
||||
->args([service('twig')])
|
||||
->tag('console.command')
|
||||
;
|
||||
};
|
30
vendor/symfony/twig-bundle/Resources/config/form.php
vendored
Normal file
30
vendor/symfony/twig-bundle/Resources/config/form.php
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* 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 Symfony\Bridge\Twig\Extension\FormExtension;
|
||||
use Symfony\Bridge\Twig\Form\TwigRendererEngine;
|
||||
use Symfony\Component\Form\FormRenderer;
|
||||
|
||||
return static function (ContainerConfigurator $container) {
|
||||
$container->services()
|
||||
->set('twig.extension.form', FormExtension::class)
|
||||
->args([service('translator')->nullOnInvalid()])
|
||||
|
||||
->set('twig.form.engine', TwigRendererEngine::class)
|
||||
->args([param('twig.form.resources'), service('twig')])
|
||||
|
||||
->set('twig.form.renderer', FormRenderer::class)
|
||||
->args([service('twig.form.engine'), service('security.csrf.token_manager')->nullOnInvalid()])
|
||||
->tag('twig.runtime')
|
||||
;
|
||||
};
|
26
vendor/symfony/twig-bundle/Resources/config/mailer.php
vendored
Normal file
26
vendor/symfony/twig-bundle/Resources/config/mailer.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* 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 Symfony\Bridge\Twig\Mime\BodyRenderer;
|
||||
use Symfony\Component\Mailer\EventListener\MessageListener;
|
||||
|
||||
return static function (ContainerConfigurator $container) {
|
||||
$container->services()
|
||||
->set('twig.mailer.message_listener', MessageListener::class)
|
||||
->args([null, service('twig.mime_body_renderer')])
|
||||
->tag('kernel.event_subscriber')
|
||||
|
||||
->set('twig.mime_body_renderer', BodyRenderer::class)
|
||||
->args([service('twig')])
|
||||
;
|
||||
};
|
58
vendor/symfony/twig-bundle/Resources/config/schema/twig-1.0.xsd
vendored
Normal file
58
vendor/symfony/twig-bundle/Resources/config/schema/twig-1.0.xsd
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<xsd:schema xmlns="http://symfony.com/schema/dic/twig"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://symfony.com/schema/dic/twig"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<xsd:element name="config" type="config" />
|
||||
|
||||
<xsd:complexType name="config">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="date" type="date" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="number-format" type="number_format" minOccurs="0" maxOccurs="1" />
|
||||
<xsd:element name="form-theme" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="global" type="global" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="path" type="path" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xsd:sequence>
|
||||
|
||||
<xsd:attribute name="auto-reload" type="xsd:string" />
|
||||
<xsd:attribute name="autoescape" type="xsd:string" />
|
||||
<xsd:attribute name="autoescape-service" type="xsd:string" />
|
||||
<xsd:attribute name="autoescape-service-method" type="xsd:string" />
|
||||
<xsd:attribute name="base-template-class" type="xsd:string" />
|
||||
<xsd:attribute name="cache" type="xsd:string" />
|
||||
<xsd:attribute name="charset" type="xsd:string" />
|
||||
<xsd:attribute name="debug" type="xsd:string" />
|
||||
<xsd:attribute name="strict-variables" type="xsd:string" />
|
||||
<xsd:attribute name="default-path" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="date">
|
||||
<xsd:attribute name="format" type="xsd:string" />
|
||||
<xsd:attribute name="interval-format" type="xsd:string" />
|
||||
<xsd:attribute name="timezone" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="number_format">
|
||||
<xsd:attribute name="decimals" type="xsd:integer" />
|
||||
<xsd:attribute name="decimal-point" type="xsd:string" />
|
||||
<xsd:attribute name="thousands-separator" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="path" mixed="true">
|
||||
<xsd:attribute name="namespace" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="global" mixed="true">
|
||||
<xsd:attribute name="key" type="xsd:string" use="required" />
|
||||
<xsd:attribute name="type" type="global_type" />
|
||||
<xsd:attribute name="id" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:simpleType name="global_type">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="service" />
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
171
vendor/symfony/twig-bundle/Resources/config/twig.php
vendored
Normal file
171
vendor/symfony/twig-bundle/Resources/config/twig.php
vendored
Normal file
@ -0,0 +1,171 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* 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\Container\ContainerInterface;
|
||||
use Symfony\Bridge\Twig\AppVariable;
|
||||
use Symfony\Bridge\Twig\DataCollector\TwigDataCollector;
|
||||
use Symfony\Bridge\Twig\ErrorRenderer\TwigErrorRenderer;
|
||||
use Symfony\Bridge\Twig\Extension\AssetExtension;
|
||||
use Symfony\Bridge\Twig\Extension\CodeExtension;
|
||||
use Symfony\Bridge\Twig\Extension\ExpressionExtension;
|
||||
use Symfony\Bridge\Twig\Extension\HttpFoundationExtension;
|
||||
use Symfony\Bridge\Twig\Extension\HttpKernelExtension;
|
||||
use Symfony\Bridge\Twig\Extension\HttpKernelRuntime;
|
||||
use Symfony\Bridge\Twig\Extension\ProfilerExtension;
|
||||
use Symfony\Bridge\Twig\Extension\RoutingExtension;
|
||||
use Symfony\Bridge\Twig\Extension\SerializerExtension;
|
||||
use Symfony\Bridge\Twig\Extension\SerializerRuntime;
|
||||
use Symfony\Bridge\Twig\Extension\StopwatchExtension;
|
||||
use Symfony\Bridge\Twig\Extension\TranslationExtension;
|
||||
use Symfony\Bridge\Twig\Extension\WebLinkExtension;
|
||||
use Symfony\Bridge\Twig\Extension\WorkflowExtension;
|
||||
use Symfony\Bridge\Twig\Extension\YamlExtension;
|
||||
use Symfony\Bridge\Twig\Translation\TwigExtractor;
|
||||
use Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheWarmer;
|
||||
use Symfony\Bundle\TwigBundle\DependencyInjection\Configurator\EnvironmentConfigurator;
|
||||
use Symfony\Bundle\TwigBundle\TemplateIterator;
|
||||
use Twig\Cache\FilesystemCache;
|
||||
use Twig\Environment;
|
||||
use Twig\Extension\CoreExtension;
|
||||
use Twig\Extension\DebugExtension;
|
||||
use Twig\Extension\EscaperExtension;
|
||||
use Twig\Extension\OptimizerExtension;
|
||||
use Twig\Extension\StagingExtension;
|
||||
use Twig\ExtensionSet;
|
||||
use Twig\Loader\ChainLoader;
|
||||
use Twig\Loader\FilesystemLoader;
|
||||
use Twig\Profiler\Profile;
|
||||
use Twig\RuntimeLoader\ContainerRuntimeLoader;
|
||||
use Twig\Template;
|
||||
use Twig\TemplateWrapper;
|
||||
|
||||
return static function (ContainerConfigurator $container) {
|
||||
$container->services()
|
||||
->set('twig', Environment::class)
|
||||
->public()
|
||||
->args([service('twig.loader'), abstract_arg('Twig options')])
|
||||
->call('addGlobal', ['app', service('twig.app_variable')])
|
||||
->call('addRuntimeLoader', [service('twig.runtime_loader')])
|
||||
->configurator([service('twig.configurator.environment'), 'configure'])
|
||||
->tag('container.preload', ['class' => FilesystemCache::class])
|
||||
->tag('container.preload', ['class' => CoreExtension::class])
|
||||
->tag('container.preload', ['class' => EscaperExtension::class])
|
||||
->tag('container.preload', ['class' => OptimizerExtension::class])
|
||||
->tag('container.preload', ['class' => StagingExtension::class])
|
||||
->tag('container.preload', ['class' => ExtensionSet::class])
|
||||
->tag('container.preload', ['class' => Template::class])
|
||||
->tag('container.preload', ['class' => TemplateWrapper::class])
|
||||
->tag('container.private', ['package' => 'symfony/twig-bundle', 'version' => '5.2'])
|
||||
|
||||
->alias('Twig_Environment', 'twig')
|
||||
->alias(Environment::class, 'twig')
|
||||
|
||||
->set('twig.app_variable', AppVariable::class)
|
||||
->call('setEnvironment', [param('kernel.environment')])
|
||||
->call('setDebug', [param('kernel.debug')])
|
||||
->call('setTokenStorage', [service('security.token_storage')->ignoreOnInvalid()])
|
||||
->call('setRequestStack', [service('request_stack')->ignoreOnInvalid()])
|
||||
|
||||
->set('twig.template_iterator', TemplateIterator::class)
|
||||
->args([service('kernel'), abstract_arg('Twig paths'), param('twig.default_path')])
|
||||
|
||||
->set('twig.template_cache_warmer', TemplateCacheWarmer::class)
|
||||
->args([service(ContainerInterface::class), service('twig.template_iterator')])
|
||||
->tag('kernel.cache_warmer')
|
||||
->tag('container.service_subscriber', ['id' => 'twig'])
|
||||
|
||||
->set('twig.loader.native_filesystem', FilesystemLoader::class)
|
||||
->args([[], param('kernel.project_dir')])
|
||||
->tag('twig.loader')
|
||||
|
||||
->set('twig.loader.chain', ChainLoader::class)
|
||||
|
||||
->set('twig.extension.profiler', ProfilerExtension::class)
|
||||
->args([service('twig.profile'), service('debug.stopwatch')->ignoreOnInvalid()])
|
||||
|
||||
->set('twig.profile', Profile::class)
|
||||
|
||||
->set('data_collector.twig', TwigDataCollector::class)
|
||||
->args([service('twig.profile'), service('twig')])
|
||||
->tag('data_collector', ['template' => '@WebProfiler/Collector/twig.html.twig', 'id' => 'twig', 'priority' => 257])
|
||||
|
||||
->set('twig.extension.trans', TranslationExtension::class)
|
||||
->args([service('translator')->nullOnInvalid()])
|
||||
->tag('twig.extension')
|
||||
|
||||
->set('twig.extension.assets', AssetExtension::class)
|
||||
->args([service('assets.packages')])
|
||||
|
||||
->set('twig.extension.code', CodeExtension::class)
|
||||
->args([service('debug.file_link_formatter')->ignoreOnInvalid(), param('kernel.project_dir'), param('kernel.charset')])
|
||||
->tag('twig.extension')
|
||||
|
||||
->set('twig.extension.routing', RoutingExtension::class)
|
||||
->args([service('router')])
|
||||
|
||||
->set('twig.extension.yaml', YamlExtension::class)
|
||||
|
||||
->set('twig.extension.debug.stopwatch', StopwatchExtension::class)
|
||||
->args([service('debug.stopwatch')->ignoreOnInvalid(), param('kernel.debug')])
|
||||
|
||||
->set('twig.extension.expression', ExpressionExtension::class)
|
||||
|
||||
->set('twig.extension.httpkernel', HttpKernelExtension::class)
|
||||
|
||||
->set('twig.runtime.httpkernel', HttpKernelRuntime::class)
|
||||
->args([service('fragment.handler'), service('fragment.uri_generator')->ignoreOnInvalid()])
|
||||
|
||||
->set('twig.extension.httpfoundation', HttpFoundationExtension::class)
|
||||
->args([service('url_helper')])
|
||||
|
||||
->set('twig.extension.debug', DebugExtension::class)
|
||||
|
||||
->set('twig.extension.weblink', WebLinkExtension::class)
|
||||
->args([service('request_stack')])
|
||||
|
||||
->set('twig.translation.extractor', TwigExtractor::class)
|
||||
->args([service('twig')])
|
||||
->tag('translation.extractor', ['alias' => 'twig'])
|
||||
|
||||
->set('workflow.twig_extension', WorkflowExtension::class)
|
||||
->args([service('workflow.registry')])
|
||||
|
||||
->set('twig.configurator.environment', EnvironmentConfigurator::class)
|
||||
->args([
|
||||
abstract_arg('date format, set in TwigExtension'),
|
||||
abstract_arg('interval format, set in TwigExtension'),
|
||||
abstract_arg('timezone, set in TwigExtension'),
|
||||
abstract_arg('decimals, set in TwigExtension'),
|
||||
abstract_arg('decimal point, set in TwigExtension'),
|
||||
abstract_arg('thousands separator, set in TwigExtension'),
|
||||
])
|
||||
|
||||
->set('twig.runtime_loader', ContainerRuntimeLoader::class)
|
||||
->args([abstract_arg('runtime locator')])
|
||||
|
||||
->set('twig.error_renderer.html', TwigErrorRenderer::class)
|
||||
->decorate('error_renderer.html')
|
||||
->args([
|
||||
service('twig'),
|
||||
service('twig.error_renderer.html.inner'),
|
||||
inline_service('bool')
|
||||
->factory([TwigErrorRenderer::class, 'isDebug'])
|
||||
->args([service('request_stack'), param('kernel.debug')]),
|
||||
])
|
||||
|
||||
->set('twig.runtime.serializer', SerializerRuntime::class)
|
||||
->args([service('serializer')])
|
||||
|
||||
->set('twig.extension.serializer', SerializerExtension::class)
|
||||
;
|
||||
};
|
Reference in New Issue
Block a user