renamed Symfony\Components to Symfony\Component
This commit is contained in:
parent
a40a7b8f36
commit
bf82cf42dd
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Doctrine\ORM\Tools\Console\Command\ClearCache\MetadataCommand;
|
use Doctrine\ORM\Tools\Console\Command\ClearCache\MetadataCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Doctrine\ORM\Tools\Console\Command\ClearCache\QueryCommand;
|
use Doctrine\ORM\Tools\Console\Command\ClearCache\QueryCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand;
|
use Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
||||||
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
|
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
|
||||||
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
|
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Doctrine\Common\Cli\Configuration;
|
use Doctrine\Common\Cli\Configuration;
|
||||||
use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\SchemaTool\CreateCommand;
|
use Doctrine\ORM\Tools\Console\Command\SchemaTool\CreateCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Command\Command;
|
use Symfony\Bundle\FrameworkBundle\Command\Command;
|
||||||
use Symfony\Components\Console\Input\ArrayInput;
|
use Symfony\Component\Console\Input\ArrayInput;
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||||
use Symfony\Framework\Bundle\Bundle;
|
use Symfony\Framework\Bundle\Bundle;
|
||||||
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
|
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Doctrine\Common\Cli\Configuration;
|
use Doctrine\Common\Cli\Configuration;
|
||||||
use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\SchemaTool\DropCommand;
|
use Doctrine\ORM\Tools\Console\Command\SchemaTool\DropCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand;
|
use Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Framework\Bundle\Bundle;
|
use Symfony\Framework\Bundle\Bundle;
|
||||||
use Doctrine\ORM\Tools\EntityGenerator;
|
use Doctrine\ORM\Tools\EntityGenerator;
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Export\ClassMetadataExporter;
|
use Doctrine\ORM\Tools\Export\ClassMetadataExporter;
|
||||||
use Doctrine\ORM\Tools\EntityGenerator;
|
use Doctrine\ORM\Tools\EntityGenerator;
|
||||||
use Doctrine\ORM\Mapping\ClassMetadataInfo;
|
use Doctrine\ORM\Mapping\ClassMetadataInfo;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\GenerateProxiesCommand;
|
use Doctrine\ORM\Tools\Console\Command\GenerateProxiesCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Doctrine\ORM\Tools\EntityRepositoryGenerator;
|
use Doctrine\ORM\Tools\EntityRepositoryGenerator;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand;
|
||||||
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
|
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
|
||||||
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
|
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Components\Finder\Finder;
|
use Symfony\Component\Finder\Finder;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Doctrine\Common\Cli\Configuration;
|
use Doctrine\Common\Cli\Configuration;
|
||||||
use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\RunDqlCommand;
|
use Doctrine\ORM\Tools\Console\Command\RunDqlCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\DBAL\Tools\Console\Command\RunSqlCommand;
|
use Doctrine\DBAL\Tools\Console\Command\RunSqlCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Command;
|
namespace Symfony\Bundle\DoctrineBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand;
|
use Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\DataCollector;
|
namespace Symfony\Bundle\DoctrineBundle\DataCollector;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Profiler\DataCollector\DataCollector;
|
use Symfony\Component\HttpKernel\Profiler\DataCollector\DataCollector;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\DependencyInjection;
|
namespace Symfony\Bundle\DoctrineBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Components\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Components\DependencyInjection\Resource\FileResource;
|
use Symfony\Component\DependencyInjection\Resource\FileResource;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Logger;
|
namespace Symfony\Bundle\DoctrineBundle\Logger;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
use Doctrine\DBAL\Logging\DebugStack;
|
use Doctrine\DBAL\Logging\DebugStack;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -13,10 +13,10 @@ namespace Symfony\Bundle\DoctrineBundle\Tests\DependencyInjection;
|
|||||||
|
|
||||||
use Symfony\Bundle\DoctrineBundle\Tests\TestCase;
|
use Symfony\Bundle\DoctrineBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension;
|
use Symfony\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\ParameterBag\ParameterBag;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\Loader\YamlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||||
|
|
||||||
abstract class AbstractDoctrineExtensionTest extends TestCase
|
abstract class AbstractDoctrineExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
@ -146,9 +146,9 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
||||||
|
|
||||||
$definition = $container->getDefinition('doctrine.orm.default_configuration');
|
$definition = $container->getDefinition('doctrine.orm.default_configuration');
|
||||||
@ -184,9 +184,9 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,9 +218,9 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -249,9 +249,9 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.dbal.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.orm.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -282,9 +282,9 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.dbal.conn1_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.dbal.conn1_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.orm.dm1_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.orm.dm1_configuration', (string) $arguments[1]);
|
||||||
|
|
||||||
$definition = $container->getDefinition('doctrine.dbal.conn2_connection');
|
$definition = $container->getDefinition('doctrine.dbal.conn2_connection');
|
||||||
@ -302,9 +302,9 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.dbal.conn2_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.dbal.conn2_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.orm.dm2_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.orm.dm2_configuration', (string) $arguments[1]);
|
||||||
|
|
||||||
$definition = $container->getDefinition('doctrine.orm.dm1_metadata_cache');
|
$definition = $container->getDefinition('doctrine.orm.dm1_metadata_cache');
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Tests\DependencyInjection;
|
namespace Symfony\Bundle\DoctrineBundle\Tests\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
|
|
||||||
class XmlDoctrineExtensionTest extends AbstractDoctrineExtensionTest
|
class XmlDoctrineExtensionTest extends AbstractDoctrineExtensionTest
|
||||||
{
|
{
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineBundle\Tests\DependencyInjection;
|
namespace Symfony\Bundle\DoctrineBundle\Tests\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Loader\YamlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||||
|
|
||||||
class YamlDoctrineExtensionTest extends AbstractDoctrineExtensionTest
|
class YamlDoctrineExtensionTest extends AbstractDoctrineExtensionTest
|
||||||
{
|
{
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand;
|
use Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand;
|
use Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand;
|
use Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand;
|
use Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand;
|
use Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
namespace Symfony\Bundle\DoctrineMigrationsBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand;
|
use Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMongoDBBundle\DependencyInjection;
|
namespace Symfony\Bundle\DoctrineMongoDBBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Components\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Components\DependencyInjection\Resource\FileResource;
|
use Symfony\Component\DependencyInjection\Resource\FileResource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Doctrine MongoDB ODM extension.
|
* Doctrine MongoDB ODM extension.
|
||||||
|
@ -13,10 +13,10 @@ namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests\DependencyInjection;
|
|||||||
|
|
||||||
use Symfony\Bundle\DoctrineMongoDBBundle\Tests\TestCase;
|
use Symfony\Bundle\DoctrineMongoDBBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\DoctrineMongoDBBundle\DependencyInjection\DoctrineMongoDBExtension;
|
use Symfony\Bundle\DoctrineMongoDBBundle\DependencyInjection\DoctrineMongoDBExtension;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\Loader\YamlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\ParameterBag\ParameterBag;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||||
|
|
||||||
abstract class AbstractMongoDBExtensionTest extends TestCase
|
abstract class AbstractMongoDBExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
@ -66,9 +66,9 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,9 +92,9 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,9 +123,9 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,9 +148,9 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.odm.mongodb.default_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.odm.mongodb.default_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,9 +175,9 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.conn1_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.odm.mongodb.conn1_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.dm1_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.odm.mongodb.dm1_configuration', (string) $arguments[1]);
|
||||||
|
|
||||||
$definition = $container->getDefinition('doctrine.odm.mongodb.conn2_connection');
|
$definition = $container->getDefinition('doctrine.odm.mongodb.conn2_connection');
|
||||||
@ -189,9 +189,9 @@ abstract class AbstractMongoDBExtensionTest extends TestCase
|
|||||||
$this->assertEquals('create', $definition->getFactoryMethod());
|
$this->assertEquals('create', $definition->getFactoryMethod());
|
||||||
|
|
||||||
$arguments = $definition->getArguments();
|
$arguments = $definition->getArguments();
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[0]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[0]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.conn2_connection', (string) $arguments[0]);
|
$this->assertEquals('doctrine.odm.mongodb.conn2_connection', (string) $arguments[0]);
|
||||||
$this->assertInstanceOf('Symfony\Components\DependencyInjection\Reference', $arguments[1]);
|
$this->assertInstanceOf('Symfony\Component\DependencyInjection\Reference', $arguments[1]);
|
||||||
$this->assertEquals('doctrine.odm.mongodb.dm2_configuration', (string) $arguments[1]);
|
$this->assertEquals('doctrine.odm.mongodb.dm2_configuration', (string) $arguments[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests\DependencyInjection;
|
namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
|
|
||||||
class XmlMongoDBExtensionTest extends AbstractMongoDBExtensionTest
|
class XmlMongoDBExtensionTest extends AbstractMongoDBExtensionTest
|
||||||
{
|
{
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests\DependencyInjection;
|
namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Loader\YamlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
|
||||||
|
|
||||||
class YamlMongoDBExtensionTest extends AbstractMongoDBExtensionTest
|
class YamlMongoDBExtensionTest extends AbstractMongoDBExtensionTest
|
||||||
{
|
{
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Components\Console\Command\Command as BaseCommand;
|
use Symfony\Component\Console\Command\Command as BaseCommand;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Command\Command as BaseCommand;
|
use Symfony\Component\Console\Command\Command as BaseCommand;
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Mustache;
|
use Symfony\Bundle\FrameworkBundle\Util\Mustache;
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Mustache;
|
use Symfony\Bundle\FrameworkBundle\Util\Mustache;
|
||||||
|
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Components\Routing\Matcher\Dumper\ApacheMatcherDumper;
|
use Symfony\Component\Routing\Matcher\Dumper\ApacheMatcherDumper;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Command;
|
namespace Symfony\Bundle\FrameworkBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Components\Routing\Matcher\Dumper\ApacheMatcherDumper;
|
use Symfony\Component\Routing\Matcher\Dumper\ApacheMatcherDumper;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Console;
|
namespace Symfony\Bundle\FrameworkBundle\Console;
|
||||||
|
|
||||||
use Symfony\Components\Console\Application as BaseApplication;
|
use Symfony\Component\Console\Application as BaseApplication;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Framework\Kernel;
|
use Symfony\Framework\Kernel;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Console;
|
namespace Symfony\Bundle\FrameworkBundle\Console;
|
||||||
|
|
||||||
use Symfony\Components\Console\Application as BaseApplication;
|
use Symfony\Component\Console\Application as BaseApplication;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Framework\Kernel;
|
use Symfony\Framework\Kernel;
|
||||||
use Symfony\Bundle\FrameworkBundle\Command\InitApplicationCommand;
|
use Symfony\Bundle\FrameworkBundle\Command\InitApplicationCommand;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Console;
|
namespace Symfony\Bundle\FrameworkBundle\Console;
|
||||||
|
|
||||||
use Symfony\Components\Console\Shell as BaseShell;
|
use Symfony\Component\Console\Shell as BaseShell;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle;
|
namespace Symfony\Bundle\FrameworkBundle;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
|
|
||||||
use Symfony\Framework\Kernel;
|
use Symfony\Framework\Kernel;
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
use Symfony\Components\HttpKernel\Controller\ControllerResolver as BaseControllerResolver;
|
use Symfony\Component\HttpKernel\Controller\ControllerResolver as BaseControllerResolver;
|
||||||
use Symfony\Components\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
use Symfony\Components\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Components\EventDispatcher\Event;
|
use Symfony\Component\EventDispatcher\Event;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter;
|
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -90,7 +90,7 @@ class ControllerResolver extends BaseControllerResolver
|
|||||||
* Renders a Controller and returns the Response content.
|
* Renders a Controller and returns the Response content.
|
||||||
*
|
*
|
||||||
* Note that this method generates an esi:include tag only when both the standalone
|
* Note that this method generates an esi:include tag only when both the standalone
|
||||||
* option is set to true and the request has ESI capability (@see Symfony\Components\HttpKernel\Cache\ESI).
|
* option is set to true and the request has ESI capability (@see Symfony\Component\HttpKernel\Cache\ESI).
|
||||||
*
|
*
|
||||||
* Available options:
|
* Available options:
|
||||||
*
|
*
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller;
|
use Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller;
|
use Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller;
|
use Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
namespace Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller;
|
use Symfony\Bundle\FrameworkBundle\Controller;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Profiler\DataCollector\DataCollector;
|
use Symfony\Component\HttpKernel\Profiler\DataCollector\DataCollector;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
||||||
|
|
||||||
use Symfony\Framework\Kernel;
|
use Symfony\Framework\Kernel;
|
||||||
use Symfony\Components\HttpKernel\Profiler\DataCollector\DataCollector;
|
use Symfony\Component\HttpKernel\Profiler\DataCollector\DataCollector;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Profiler\DataCollector\DataCollector;
|
use Symfony\Component\HttpKernel\Profiler\DataCollector\DataCollector;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Debug;
|
namespace Symfony\Bundle\FrameworkBundle\Debug;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Symfony\Components\EventDispatcher\Event;
|
use Symfony\Component\EventDispatcher\Event;
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
use Symfony\Components\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Debug;
|
namespace Symfony\Bundle\FrameworkBundle\Debug;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\HttpKernel\Exception\HttpException;
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
||||||
use Symfony\Components\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Components\HttpKernel\Log\DebugLoggerInterface;
|
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection;
|
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\Resource\FileResource;
|
use Symfony\Component\DependencyInjection\Resource\FileResource;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Components\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
@ -60,15 +60,15 @@ class WebExtension extends Extension
|
|||||||
$container->setParameter('routing.resource', $config['router']['resource']);
|
$container->setParameter('routing.resource', $config['router']['resource']);
|
||||||
|
|
||||||
$this->addCompiledClasses($container, array(
|
$this->addCompiledClasses($container, array(
|
||||||
'Symfony\\Components\\Routing\\RouterInterface',
|
'Symfony\\Component\\Routing\\RouterInterface',
|
||||||
'Symfony\\Components\\Routing\\Router',
|
'Symfony\\Component\\Routing\\Router',
|
||||||
'Symfony\\Components\\Routing\\Matcher\\UrlMatcherInterface',
|
'Symfony\\Component\\Routing\\Matcher\\UrlMatcherInterface',
|
||||||
'Symfony\\Components\\Routing\\Matcher\\UrlMatcher',
|
'Symfony\\Component\\Routing\\Matcher\\UrlMatcher',
|
||||||
'Symfony\\Components\\Routing\\Generator\\UrlGeneratorInterface',
|
'Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface',
|
||||||
'Symfony\\Components\\Routing\\Generator\\UrlGenerator',
|
'Symfony\\Component\\Routing\\Generator\\UrlGenerator',
|
||||||
'Symfony\\Components\\Routing\\Loader\\Loader',
|
'Symfony\\Component\\Routing\\Loader\\Loader',
|
||||||
'Symfony\\Components\\Routing\\Loader\\DelegatingLoader',
|
'Symfony\\Component\\Routing\\Loader\\DelegatingLoader',
|
||||||
'Symfony\\Components\\Routing\\Loader\\LoaderResolver',
|
'Symfony\\Component\\Routing\\Loader\\LoaderResolver',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Routing\\LoaderResolver',
|
'Symfony\\Bundle\\FrameworkBundle\\Routing\\LoaderResolver',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Routing\\DelegatingLoader',
|
'Symfony\\Bundle\\FrameworkBundle\\Routing\\DelegatingLoader',
|
||||||
));
|
));
|
||||||
@ -107,20 +107,20 @@ class WebExtension extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->addCompiledClasses($container, array(
|
$this->addCompiledClasses($container, array(
|
||||||
'Symfony\\Components\\HttpFoundation\\ParameterBag',
|
'Symfony\\Component\\HttpFoundation\\ParameterBag',
|
||||||
'Symfony\\Components\\HttpFoundation\\HeaderBag',
|
'Symfony\\Component\\HttpFoundation\\HeaderBag',
|
||||||
'Symfony\\Components\\HttpFoundation\\Request',
|
'Symfony\\Component\\HttpFoundation\\Request',
|
||||||
'Symfony\\Components\\HttpFoundation\\Response',
|
'Symfony\\Component\\HttpFoundation\\Response',
|
||||||
|
|
||||||
'Symfony\\Components\\HttpKernel\\HttpKernel',
|
'Symfony\\Component\\HttpKernel\\HttpKernel',
|
||||||
'Symfony\\Components\\HttpKernel\\ResponseListener',
|
'Symfony\\Component\\HttpKernel\\ResponseListener',
|
||||||
'Symfony\\Components\\HttpKernel\\Controller\\ControllerResolver',
|
'Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver',
|
||||||
|
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\RequestListener',
|
'Symfony\\Bundle\\FrameworkBundle\\RequestListener',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameConverter',
|
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameConverter',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',
|
'Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver',
|
||||||
|
|
||||||
'Symfony\\Components\\EventDispatcher\\Event',
|
'Symfony\\Component\\EventDispatcher\\Event',
|
||||||
|
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Controller',
|
'Symfony\\Bundle\\FrameworkBundle\\Controller',
|
||||||
));
|
));
|
||||||
@ -194,18 +194,18 @@ class WebExtension extends Extension
|
|||||||
|
|
||||||
// compilation
|
// compilation
|
||||||
$this->addCompiledClasses($container, array(
|
$this->addCompiledClasses($container, array(
|
||||||
'Symfony\\Components\\Templating\\Loader\\LoaderInterface',
|
'Symfony\\Component\\Templating\\Loader\\LoaderInterface',
|
||||||
'Symfony\\Components\\Templating\\Loader\\Loader',
|
'Symfony\\Component\\Templating\\Loader\\Loader',
|
||||||
'Symfony\\Components\\Templating\\Loader\\FilesystemLoader',
|
'Symfony\\Component\\Templating\\Loader\\FilesystemLoader',
|
||||||
'Symfony\\Components\\Templating\\Engine',
|
'Symfony\\Component\\Templating\\Engine',
|
||||||
'Symfony\\Components\\Templating\\Renderer\\RendererInterface',
|
'Symfony\\Component\\Templating\\Renderer\\RendererInterface',
|
||||||
'Symfony\\Components\\Templating\\Renderer\\Renderer',
|
'Symfony\\Component\\Templating\\Renderer\\Renderer',
|
||||||
'Symfony\\Components\\Templating\\Renderer\\PhpRenderer',
|
'Symfony\\Component\\Templating\\Renderer\\PhpRenderer',
|
||||||
'Symfony\\Components\\Templating\\Storage\\Storage',
|
'Symfony\\Component\\Templating\\Storage\\Storage',
|
||||||
'Symfony\\Components\\Templating\\Storage\\FileStorage',
|
'Symfony\\Component\\Templating\\Storage\\FileStorage',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Engine',
|
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Engine',
|
||||||
'Symfony\\Components\\Templating\\Helper\\Helper',
|
'Symfony\\Component\\Templating\\Helper\\Helper',
|
||||||
'Symfony\\Components\\Templating\\Helper\\SlotsHelper',
|
'Symfony\\Component\\Templating\\Helper\\SlotsHelper',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\ActionsHelper',
|
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\ActionsHelper',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
|
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
|
||||||
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
|
'Symfony\\Bundle\\FrameworkBundle\\Templating\\Helper\\RouterHelper',
|
||||||
@ -225,9 +225,9 @@ class WebExtension extends Extension
|
|||||||
$messageFiles = array();
|
$messageFiles = array();
|
||||||
|
|
||||||
// default entries by the framework
|
// default entries by the framework
|
||||||
$xmlMappingFiles[] = __DIR__.'/../../../Components/Form/Resources/config/validation.xml';
|
$xmlMappingFiles[] = __DIR__.'/../../../Component/Form/Resources/config/validation.xml';
|
||||||
$messageFiles[] = __DIR__ . '/../../../Components/Validator/Resources/i18n/messages.en.xml';
|
$messageFiles[] = __DIR__ . '/../../../Component/Validator/Resources/i18n/messages.en.xml';
|
||||||
$messageFiles[] = __DIR__ . '/../../../Components/Form/Resources/i18n/messages.en.xml';
|
$messageFiles[] = __DIR__ . '/../../../Component/Form/Resources/i18n/messages.en.xml';
|
||||||
|
|
||||||
foreach ($container->getParameter('kernel.bundles') as $className) {
|
foreach ($container->getParameter('kernel.bundles') as $className) {
|
||||||
$tmp = dirname(str_replace('\\', '/', $className));
|
$tmp = dirname(str_replace('\\', '/', $className));
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle;
|
namespace Symfony\Bundle\FrameworkBundle;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\HttpKernel\Profiler\Profiler as BaseProfiler;
|
use Symfony\Component\HttpKernel\Profiler\Profiler as BaseProfiler;
|
||||||
use Symfony\Components\HttpKernel\Profiler\ProfilerStorage;
|
use Symfony\Component\HttpKernel\Profiler\ProfilerStorage;
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle;
|
namespace Symfony\Bundle\FrameworkBundle;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
use Symfony\Components\EventDispatcher\EventDispatcher;
|
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||||
use Symfony\Components\EventDispatcher\Event;
|
use Symfony\Component\EventDispatcher\Event;
|
||||||
use Symfony\Components\Routing\RouterInterface;
|
use Symfony\Component\Routing\RouterInterface;
|
||||||
use Symfony\Components\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<parameter key="data_collector.config.class">Symfony\Bundle\FrameworkBundle\DataCollector\ConfigDataCollector</parameter>
|
<parameter key="data_collector.config.class">Symfony\Bundle\FrameworkBundle\DataCollector\ConfigDataCollector</parameter>
|
||||||
<parameter key="data_collector.app.class">Symfony\Bundle\FrameworkBundle\DataCollector\AppDataCollector</parameter>
|
<parameter key="data_collector.app.class">Symfony\Bundle\FrameworkBundle\DataCollector\AppDataCollector</parameter>
|
||||||
<parameter key="data_collector.timer.class">Symfony\Bundle\FrameworkBundle\DataCollector\TimerDataCollector</parameter>
|
<parameter key="data_collector.timer.class">Symfony\Bundle\FrameworkBundle\DataCollector\TimerDataCollector</parameter>
|
||||||
<parameter key="data_collector.memory.class">Symfony\Components\HttpKernel\Profiler\DataCollector\MemoryDataCollector</parameter>
|
<parameter key="data_collector.memory.class">Symfony\Component\HttpKernel\Profiler\DataCollector\MemoryDataCollector</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter key="profiler.class">Symfony\Bundle\FrameworkBundle\Profiler</parameter>
|
<parameter key="profiler.class">Symfony\Bundle\FrameworkBundle\Profiler</parameter>
|
||||||
<parameter key="profiler.storage.class">Symfony\Components\HttpKernel\Profiler\ProfilerStorage</parameter>
|
<parameter key="profiler.storage.class">Symfony\Component\HttpKernel\Profiler\ProfilerStorage</parameter>
|
||||||
<parameter key="profiler.storage.file">%kernel.cache_dir%/profiler.db</parameter>
|
<parameter key="profiler.storage.file">%kernel.cache_dir%/profiler.db</parameter>
|
||||||
<parameter key="profiler.storage.lifetime">86400</parameter>
|
<parameter key="profiler.storage.lifetime">86400</parameter>
|
||||||
<parameter key="profiler_listener.class">Symfony\Components\HttpKernel\Profiler\ProfilerListener</parameter>
|
<parameter key="profiler_listener.class">Symfony\Component\HttpKernel\Profiler\ProfilerListener</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
||||||
|
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter key="router.class">Symfony\Components\Routing\Router</parameter>
|
<parameter key="router.class">Symfony\Component\Routing\Router</parameter>
|
||||||
<parameter key="routing.loader.class">Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader</parameter>
|
<parameter key="routing.loader.class">Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader</parameter>
|
||||||
<parameter key="routing.resolver.class">Symfony\Bundle\FrameworkBundle\Routing\LoaderResolver</parameter>
|
<parameter key="routing.resolver.class">Symfony\Bundle\FrameworkBundle\Routing\LoaderResolver</parameter>
|
||||||
<parameter key="routing.loader.xml.class">Symfony\Components\Routing\Loader\XmlFileLoader</parameter>
|
<parameter key="routing.loader.xml.class">Symfony\Component\Routing\Loader\XmlFileLoader</parameter>
|
||||||
<parameter key="routing.loader.yml.class">Symfony\Components\Routing\Loader\YamlFileLoader</parameter>
|
<parameter key="routing.loader.yml.class">Symfony\Component\Routing\Loader\YamlFileLoader</parameter>
|
||||||
<parameter key="routing.loader.php.class">Symfony\Components\Routing\Loader\PhpFileLoader</parameter>
|
<parameter key="routing.loader.php.class">Symfony\Component\Routing\Loader\PhpFileLoader</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter key="templating.engine.class">Symfony\Bundle\FrameworkBundle\Templating\Engine</parameter>
|
<parameter key="templating.engine.class">Symfony\Bundle\FrameworkBundle\Templating\Engine</parameter>
|
||||||
<parameter key="templating.loader.filesystem.class">Symfony\Components\Templating\Loader\FilesystemLoader</parameter>
|
<parameter key="templating.loader.filesystem.class">Symfony\Component\Templating\Loader\FilesystemLoader</parameter>
|
||||||
<parameter key="templating.loader.cache.class">Symfony\Components\Templating\Loader\CacheLoader</parameter>
|
<parameter key="templating.loader.cache.class">Symfony\Component\Templating\Loader\CacheLoader</parameter>
|
||||||
<parameter key="templating.loader.chain.class">Symfony\Components\Templating\Loader\ChainLoader</parameter>
|
<parameter key="templating.loader.chain.class">Symfony\Component\Templating\Loader\ChainLoader</parameter>
|
||||||
<parameter key="templating.helper.javascripts.class">Symfony\Components\Templating\Helper\JavascriptsHelper</parameter>
|
<parameter key="templating.helper.javascripts.class">Symfony\Component\Templating\Helper\JavascriptsHelper</parameter>
|
||||||
<parameter key="templating.helper.stylesheets.class">Symfony\Components\Templating\Helper\StylesheetsHelper</parameter>
|
<parameter key="templating.helper.stylesheets.class">Symfony\Component\Templating\Helper\StylesheetsHelper</parameter>
|
||||||
<parameter key="templating.helper.slots.class">Symfony\Components\Templating\Helper\SlotsHelper</parameter>
|
<parameter key="templating.helper.slots.class">Symfony\Component\Templating\Helper\SlotsHelper</parameter>
|
||||||
<parameter key="templating.helper.assets.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper</parameter>
|
<parameter key="templating.helper.assets.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\AssetsHelper</parameter>
|
||||||
<parameter key="templating.helper.actions.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper</parameter>
|
<parameter key="templating.helper.actions.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\ActionsHelper</parameter>
|
||||||
<parameter key="templating.helper.router.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper</parameter>
|
<parameter key="templating.helper.router.class">Symfony\Bundle\FrameworkBundle\Templating\Helper\RouterHelper</parameter>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
||||||
|
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter key="debug.toolbar.class">Symfony\Components\HttpKernel\Profiler\WebDebugToolbarListener</parameter>
|
<parameter key="debug.toolbar.class">Symfony\Component\HttpKernel\Profiler\WebDebugToolbarListener</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
|
@ -5,17 +5,17 @@
|
|||||||
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
|
||||||
|
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter key="validator.class">Symfony\Components\Validator\Validator</parameter>
|
<parameter key="validator.class">Symfony\Component\Validator\Validator</parameter>
|
||||||
<parameter key="validator.validator_factory.class">Symfony\Components\Validator\Extension\DependencyInjectionValidatorFactory</parameter>
|
<parameter key="validator.validator_factory.class">Symfony\Component\Validator\Extension\DependencyInjectionValidatorFactory</parameter>
|
||||||
<parameter key="validator.message_interpolator.class">Symfony\Components\Validator\MessageInterpolator\XliffMessageInterpolator</parameter>
|
<parameter key="validator.message_interpolator.class">Symfony\Component\Validator\MessageInterpolator\XliffMessageInterpolator</parameter>
|
||||||
<parameter key="validator.mapping.class_metadata_factory.class">Symfony\Components\Validator\Mapping\ClassMetadataFactory</parameter>
|
<parameter key="validator.mapping.class_metadata_factory.class">Symfony\Component\Validator\Mapping\ClassMetadataFactory</parameter>
|
||||||
<parameter key="validator.mapping.loader.loader_chain.class">Symfony\Components\Validator\Mapping\Loader\LoaderChain</parameter>
|
<parameter key="validator.mapping.loader.loader_chain.class">Symfony\Component\Validator\Mapping\Loader\LoaderChain</parameter>
|
||||||
<parameter key="validator.mapping.loader.static_method_loader.class">Symfony\Components\Validator\Mapping\Loader\StaticMethodLoader</parameter>
|
<parameter key="validator.mapping.loader.static_method_loader.class">Symfony\Component\Validator\Mapping\Loader\StaticMethodLoader</parameter>
|
||||||
<parameter key="validator.mapping.loader.annotation_loader.class">Symfony\Components\Validator\Mapping\Loader\AnnotationLoader</parameter>
|
<parameter key="validator.mapping.loader.annotation_loader.class">Symfony\Component\Validator\Mapping\Loader\AnnotationLoader</parameter>
|
||||||
<parameter key="validator.mapping.loader.xml_file_loader.class">Symfony\Components\Validator\Mapping\Loader\XmlFileLoader</parameter>
|
<parameter key="validator.mapping.loader.xml_file_loader.class">Symfony\Component\Validator\Mapping\Loader\XmlFileLoader</parameter>
|
||||||
<parameter key="validator.mapping.loader.yaml_file_loader.class">Symfony\Components\Validator\Mapping\Loader\YamlFileLoader</parameter>
|
<parameter key="validator.mapping.loader.yaml_file_loader.class">Symfony\Component\Validator\Mapping\Loader\YamlFileLoader</parameter>
|
||||||
<parameter key="validator.mapping.loader.xml_files_loader.class">Symfony\Components\Validator\Mapping\Loader\XmlFilesLoader</parameter>
|
<parameter key="validator.mapping.loader.xml_files_loader.class">Symfony\Component\Validator\Mapping\Loader\XmlFilesLoader</parameter>
|
||||||
<parameter key="validator.mapping.loader.yaml_files_loader.class">Symfony\Components\Validator\Mapping\Loader\YamlFilesLoader</parameter>
|
<parameter key="validator.mapping.loader.yaml_files_loader.class">Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader</parameter>
|
||||||
<parameter key="validator.mapping.loader.static_method_loader.method_name">loadValidatorMetadata</parameter>
|
<parameter key="validator.mapping.loader.static_method_loader.method_name">loadValidatorMetadata</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
||||||
|
@ -8,12 +8,12 @@
|
|||||||
<parameter key="request_listener.class">Symfony\Bundle\FrameworkBundle\RequestListener</parameter>
|
<parameter key="request_listener.class">Symfony\Bundle\FrameworkBundle\RequestListener</parameter>
|
||||||
<parameter key="controller_resolver.class">Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver</parameter>
|
<parameter key="controller_resolver.class">Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver</parameter>
|
||||||
<parameter key="controller_name_converter.class">Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter</parameter>
|
<parameter key="controller_name_converter.class">Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter</parameter>
|
||||||
<parameter key="response_listener.class">Symfony\Components\HttpKernel\ResponseListener</parameter>
|
<parameter key="response_listener.class">Symfony\Component\HttpKernel\ResponseListener</parameter>
|
||||||
<parameter key="exception_listener.class">Symfony\Bundle\FrameworkBundle\Debug\ExceptionListener</parameter>
|
<parameter key="exception_listener.class">Symfony\Bundle\FrameworkBundle\Debug\ExceptionListener</parameter>
|
||||||
<parameter key="exception_listener.controller">Symfony\Bundle\FrameworkBundle\Controller\ExceptionController::exceptionAction</parameter>
|
<parameter key="exception_listener.controller">Symfony\Bundle\FrameworkBundle\Controller\ExceptionController::exceptionAction</parameter>
|
||||||
<parameter key="exception_manager.class">Symfony\Bundle\FrameworkBundle\Debug\ExceptionManager</parameter>
|
<parameter key="exception_manager.class">Symfony\Bundle\FrameworkBundle\Debug\ExceptionManager</parameter>
|
||||||
<parameter key="esi.class">Symfony\Components\HttpKernel\Cache\Esi</parameter>
|
<parameter key="esi.class">Symfony\Component\HttpKernel\Cache\Esi</parameter>
|
||||||
<parameter key="esi_listener.class">Symfony\Components\HttpKernel\Cache\EsiListener</parameter>
|
<parameter key="esi_listener.class">Symfony\Component\HttpKernel\Cache\EsiListener</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
require_once __DIR__.'/../src/autoload.php';
|
require_once __DIR__.'/../src/autoload.php';
|
||||||
|
|
||||||
use Symfony\Framework\Kernel;
|
use Symfony\Framework\Kernel;
|
||||||
use Symfony\Components\DependencyInjection\Loader\LoaderInterface;
|
use Symfony\Component\DependencyInjection\Loader\LoaderInterface;
|
||||||
|
|
||||||
use Symfony\Framework\KernelBundle;
|
use Symfony\Framework\KernelBundle;
|
||||||
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Symfony\Components\Routing\RouteCollection;
|
use Symfony\Component\Routing\RouteCollection;
|
||||||
use Symfony\Components\Routing\Route;
|
use Symfony\Component\Routing\Route;
|
||||||
|
|
||||||
$collection = new RouteCollection();
|
$collection = new RouteCollection();
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
namespace {{ namespace }}\{{ bundle }};
|
namespace {{ namespace }}\{{ bundle }};
|
||||||
|
|
||||||
use Symfony\Framework\Bundle\Bundle;
|
use Symfony\Framework\Bundle\Bundle;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\DependencyInjection\ParameterBag\ParameterBagInterface;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
|
||||||
|
|
||||||
class {{ bundle }} extends Bundle
|
class {{ bundle }} extends Bundle
|
||||||
{
|
{
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Routing;
|
namespace Symfony\Bundle\FrameworkBundle\Routing;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter;
|
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameConverter;
|
||||||
use Symfony\Components\Routing\Loader\DelegatingLoader as BaseDelegatingLoader;
|
use Symfony\Component\Routing\Loader\DelegatingLoader as BaseDelegatingLoader;
|
||||||
use Symfony\Components\Routing\Loader\LoaderResolverInterface;
|
use Symfony\Component\Routing\Loader\LoaderResolverInterface;
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Routing;
|
namespace Symfony\Bundle\FrameworkBundle\Routing;
|
||||||
|
|
||||||
use Symfony\Components\Routing\Loader\LoaderResolver as BaseLoaderResolver;
|
use Symfony\Component\Routing\Loader\LoaderResolver as BaseLoaderResolver;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\Routing\Loader\LoaderInterface;
|
use Symfony\Component\Routing\Loader\LoaderInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating;
|
namespace Symfony\Bundle\FrameworkBundle\Templating;
|
||||||
|
|
||||||
use Symfony\Components\Templating\DebuggerInterface;
|
use Symfony\Component\Templating\DebuggerInterface;
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating;
|
namespace Symfony\Bundle\FrameworkBundle\Templating;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Engine as BaseEngine;
|
use Symfony\Component\Templating\Engine as BaseEngine;
|
||||||
use Symfony\Components\Templating\Loader\LoaderInterface;
|
use Symfony\Component\Templating\Loader\LoaderInterface;
|
||||||
use Symfony\Components\OutputEscaper\Escaper;
|
use Symfony\Component\OutputEscaper\Escaper;
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Helper\Helper;
|
use Symfony\Component\Templating\Helper\Helper;
|
||||||
use Symfony\Components\OutputEscaper\Escaper;
|
use Symfony\Component\OutputEscaper\Escaper;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver;
|
use Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
||||||
|
|
||||||
use Symfony\Components\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Components\Templating\Helper\AssetsHelper as BaseAssetsHelper;
|
use Symfony\Component\Templating\Helper\AssetsHelper as BaseAssetsHelper;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Helper\Helper;
|
use Symfony\Component\Templating\Helper\Helper;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Helper\Helper;
|
use Symfony\Component\Templating\Helper\Helper;
|
||||||
use Symfony\Components\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
@ -39,7 +39,7 @@ class RequestHelper extends Helper
|
|||||||
* @param string $key The name of the parameter
|
* @param string $key The name of the parameter
|
||||||
* @param string $default A default value
|
* @param string $default A default value
|
||||||
*
|
*
|
||||||
* @see Symfony\Components\HttpFoundation\Request::get()
|
* @see Symfony\Component\HttpFoundation\Request::get()
|
||||||
*/
|
*/
|
||||||
public function getParameter($key, $default = null)
|
public function getParameter($key, $default = null)
|
||||||
{
|
{
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Helper\Helper;
|
use Symfony\Component\Templating\Helper\Helper;
|
||||||
use Symfony\Components\Routing\Router;
|
use Symfony\Component\Routing\Router;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Helper\Helper;
|
use Symfony\Component\Templating\Helper\Helper;
|
||||||
use Symfony\Components\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Test;
|
namespace Symfony\Bundle\FrameworkBundle\Test;
|
||||||
|
|
||||||
use Symfony\Framework\Test\WebTestCase as BaseWebTestCase;
|
use Symfony\Framework\Test\WebTestCase as BaseWebTestCase;
|
||||||
use Symfony\Components\Finder\Finder;
|
use Symfony\Component\Finder\Finder;
|
||||||
use Symfony\Components\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Components\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -14,8 +14,8 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Command;
|
|||||||
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
|
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\FrameworkBundle\Command\InitApplicationCommand;
|
use Symfony\Bundle\FrameworkBundle\Command\InitApplicationCommand;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Symfony\Components\Console\Tester\CommandTester;
|
use Symfony\Component\Console\Tester\CommandTester;
|
||||||
use Symfony\Components\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
require_once __DIR__.'/../TestCase.php';
|
require_once __DIR__.'/../TestCase.php';
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection;
|
|||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
|
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\FrameworkBundle\DependencyInjection\WebExtension;
|
use Symfony\Bundle\FrameworkBundle\DependencyInjection\WebExtension;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\ParameterBag\ParameterBag;
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
||||||
|
|
||||||
class WebExtensionTest extends TestCase
|
class WebExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
@ -34,7 +34,7 @@ class WebExtensionTest extends TestCase
|
|||||||
$this->assertFalse($container->getParameterBag()->has('debug.toolbar.class'), '->configLoad() does not load the toolbar.xml file');
|
$this->assertFalse($container->getParameterBag()->has('debug.toolbar.class'), '->configLoad() does not load the toolbar.xml file');
|
||||||
|
|
||||||
$loader->configLoad(array('toolbar' => true), $container);
|
$loader->configLoad(array('toolbar' => true), $container);
|
||||||
$this->assertEquals('Symfony\\Components\\HttpKernel\\Profiler\\WebDebugToolbarListener', $container->getParameter('debug.toolbar.class'), '->configLoad() loads the collectors.xml file if the toolbar option is given');
|
$this->assertEquals('Symfony\\Component\\HttpKernel\\Profiler\\WebDebugToolbarListener', $container->getParameter('debug.toolbar.class'), '->configLoad() loads the collectors.xml file if the toolbar option is given');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testTemplatingLoad()
|
public function testTemplatingLoad()
|
||||||
@ -52,7 +52,7 @@ class WebExtensionTest extends TestCase
|
|||||||
$loader = new WebExtension();
|
$loader = new WebExtension();
|
||||||
|
|
||||||
$loader->configLoad(array('validation' => array('enabled' => true)), $container);
|
$loader->configLoad(array('validation' => array('enabled' => true)), $container);
|
||||||
$this->assertEquals('Symfony\Components\Validator\Validator', $container->getParameter('validator.class'), '->validationLoad() loads the validation.xml file if not already loaded');
|
$this->assertEquals('Symfony\Component\Validator\Validator', $container->getParameter('validator.class'), '->validationLoad() loads the validation.xml file if not already loaded');
|
||||||
$this->assertFalse($container->hasDefinition('validator.mapping.loader.annotation_loader'), '->validationLoad() doesn\'t load the annotations service unless its needed');
|
$this->assertFalse($container->hasDefinition('validator.mapping.loader.annotation_loader'), '->validationLoad() doesn\'t load the annotations service unless its needed');
|
||||||
|
|
||||||
$loader->configLoad(array('validation' => array('enabled' => true, 'annotations' => true)), $container);
|
$loader->configLoad(array('validation' => array('enabled' => true, 'annotations' => true)), $container);
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
namespace Symfony\Bundle\FrameworkBundle\Tests;
|
namespace Symfony\Bundle\FrameworkBundle\Tests;
|
||||||
|
|
||||||
use Symfony\Framework\Kernel as BaseKernel;
|
use Symfony\Framework\Kernel as BaseKernel;
|
||||||
use Symfony\Components\DependencyInjection\Loader\LoaderInterface;
|
use Symfony\Component\DependencyInjection\Loader\LoaderInterface;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
|
|
||||||
class Kernel extends BaseKernel
|
class Kernel extends BaseKernel
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\Tests;
|
namespace Symfony\Bundle\FrameworkBundle\Tests;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
|
|
||||||
class Logger implements LoggerInterface
|
class Logger implements LoggerInterface
|
||||||
{
|
{
|
||||||
|
@ -5,11 +5,11 @@ namespace Symfony\Bundle\PropelBundle\Command;
|
|||||||
use Symfony\Bundle\PropelBundle\Command\PhingCommand;
|
use Symfony\Bundle\PropelBundle\Command\PhingCommand;
|
||||||
use Symfony\Bundle\PropelBundle\Command\BuildModelCommand;
|
use Symfony\Bundle\PropelBundle\Command\BuildModelCommand;
|
||||||
use Symfony\Bundle\PropelBundle\Command\BuildSqlCommand;
|
use Symfony\Bundle\PropelBundle\Command\BuildSqlCommand;
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
namespace Symfony\Bundle\PropelBundle\Command;
|
namespace Symfony\Bundle\PropelBundle\Command;
|
||||||
|
|
||||||
use Symfony\Bundle\PropelBundle\Command\PhingCommand;
|
use Symfony\Bundle\PropelBundle\Command\PhingCommand;
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
namespace Symfony\Bundle\PropelBundle\Command;
|
namespace Symfony\Bundle\PropelBundle\Command;
|
||||||
|
|
||||||
use Symfony\Bundle\PropelBundle\Command\PhingCommand;
|
use Symfony\Bundle\PropelBundle\Command\PhingCommand;
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\PropelBundle\Command;
|
namespace Symfony\Bundle\PropelBundle\Command;
|
||||||
|
|
||||||
use Symfony\Components\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Components\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
use Symfony\Components\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Components\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Components\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
use Symfony\Components\Console\Output\Output;
|
use Symfony\Component\Console\Output\Output;
|
||||||
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
use Symfony\Bundle\FrameworkBundle\Util\Filesystem;
|
||||||
use Symfony\Components\Finder\Finder;
|
use Symfony\Component\Finder\Finder;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\PropelBundle\DependencyInjection;
|
namespace Symfony\Bundle\PropelBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Definition;
|
use Symfony\Component\DependencyInjection\Definition;
|
||||||
use Symfony\Components\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
|
|
||||||
class PropelExtension extends Extension
|
class PropelExtension extends Extension
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\PropelBundle\Logger;
|
namespace Symfony\Bundle\PropelBundle\Logger;
|
||||||
|
|
||||||
use Symfony\Components\HttpKernel\Log\LoggerInterface;
|
use Symfony\Component\HttpKernel\Log\LoggerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -13,7 +13,7 @@ namespace Symfony\Bundle\PropelBundle\Tests\DependencyInjection;
|
|||||||
|
|
||||||
use Symfony\Bundle\PropelBundle\Tests\TestCase;
|
use Symfony\Bundle\PropelBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\PropelBundle\DependencyInjection\PropelExtension;
|
use Symfony\Bundle\PropelBundle\DependencyInjection\PropelExtension;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
class PropelExtensionTest extends TestCase
|
class PropelExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\SwiftmailerBundle\DependencyInjection;
|
namespace Symfony\Bundle\SwiftmailerBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Components\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -13,7 +13,7 @@ namespace Symfony\Bundle\SwiftmailerBundle\Tests\DependencyInjection;
|
|||||||
|
|
||||||
use Symfony\Bundle\SwiftmailerBundle\Tests\TestCase;
|
use Symfony\Bundle\SwiftmailerBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SwiftmailerExtension;
|
use Symfony\Bundle\SwiftmailerBundle\DependencyInjection\SwiftmailerExtension;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
class SwiftmailerExtensionTest extends TestCase
|
class SwiftmailerExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\TwigBundle\DependencyInjection;
|
namespace Symfony\Bundle\TwigBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\Extension\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Components\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\TwigBundle;
|
namespace Symfony\Bundle\TwigBundle;
|
||||||
|
|
||||||
use Symfony\Components\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony framework.
|
* This file is part of the Symfony framework.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\TwigBundle\Extension;
|
namespace Symfony\Bundle\TwigBundle\Extension;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Engine;
|
use Symfony\Component\Templating\Engine;
|
||||||
use Symfony\Bundle\TwigBundle\TokenParser\HelperTokenParser;
|
use Symfony\Bundle\TwigBundle\TokenParser\HelperTokenParser;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\TwigBundle\Loader;
|
namespace Symfony\Bundle\TwigBundle\Loader;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Engine;
|
use Symfony\Component\Templating\Engine;
|
||||||
use Symfony\Components\Templating\Storage\Storage;
|
use Symfony\Component\Templating\Storage\Storage;
|
||||||
use Symfony\Components\Templating\Storage\FileStorage;
|
use Symfony\Component\Templating\Storage\FileStorage;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\TwigBundle\Renderer;
|
namespace Symfony\Bundle\TwigBundle\Renderer;
|
||||||
|
|
||||||
use Symfony\Components\Templating\Renderer\Renderer as BaseRenderer;
|
use Symfony\Component\Templating\Renderer\Renderer as BaseRenderer;
|
||||||
use Symfony\Components\Templating\Storage\Storage;
|
use Symfony\Component\Templating\Storage\Storage;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the Symfony package.
|
* This file is part of the Symfony package.
|
||||||
|
@ -13,7 +13,7 @@ namespace Symfony\Bundle\TwigBundle\Tests\DependencyInjection;
|
|||||||
|
|
||||||
use Symfony\Bundle\TwigBundle\Tests\TestCase;
|
use Symfony\Bundle\TwigBundle\Tests\TestCase;
|
||||||
use Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension;
|
use Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension;
|
||||||
use Symfony\Components\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
|
||||||
class TwigExtensionTest extends TestCase
|
class TwigExtensionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user