1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Symfony/Components renamed into Symfony/Component

This commit is contained in:
Sébastien HOUZE 2010-08-23 08:21:41 +02:00 committed by Jonathan H. Wage
parent 2f00db08e1
commit 4a9f36800e
55 changed files with 160 additions and 160 deletions

View File

@ -21,16 +21,16 @@ if (file_exists($configFile)) {
require $configFile;
foreach ($GLOBALS as $helperSetCandidate) {
if ($helperSetCandidate instanceof \Symfony\Components\Console\Helper\HelperSet) {
if ($helperSetCandidate instanceof \Symfony\Component\Console\Helper\HelperSet) {
$helperSet = $helperSetCandidate;
break;
}
}
}
$helperSet = ($helperSet) ?: new \Symfony\Components\Console\Helper\HelperSet();
$helperSet = ($helperSet) ?: new \Symfony\Component\Console\Helper\HelperSet();
$cli = new \Symfony\Components\Console\Application('Doctrine Command Line Interface', Doctrine\ORM\Version::VERSION);
$cli = new \Symfony\Component\Console\Application('Doctrine Command Line Interface', Doctrine\ORM\Version::VERSION);
$cli->setCatchExceptions(true);
$cli->setHelperSet($helperSet);
$cli->addCommands(array(
@ -55,4 +55,4 @@ $cli->addCommands(array(
new \Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand(),
));
$cli->run();
$cli->run();

View File

@ -452,6 +452,6 @@ class YamlDriver extends AbstractFileDriver
*/
protected function _loadMappingFile($file)
{
return \Symfony\Components\Yaml\Yaml::load($file);
return \Symfony\Component\Yaml\Yaml::load($file);
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command\ClearCache;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console;
/**
* Command to clear the metadata cache of the various cache drivers.
@ -82,4 +82,4 @@ EOT
$output->write('No entries to be deleted.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command\ClearCache;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console;
/**
* Command to clear the query cache of the various cache drivers.
@ -82,4 +82,4 @@ EOT
$output->write('No entries to be deleted.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command\ClearCache;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console;
/**
* Command to clear the result cache of the various cache drivers.
@ -165,4 +165,4 @@ EOT
$output->write('No entries to be deleted.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ORM\Tools\Export\ClassMetadataExporter,
Doctrine\ORM\Tools\ConvertDoctrine1Schema,
Doctrine\ORM\Tools\EntityGenerator;
@ -220,4 +220,4 @@ EOT
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ORM\Tools\Console\MetadataFilter,
Doctrine\ORM\Tools\Export\ClassMetadataExporter,
Doctrine\ORM\Tools\EntityGenerator,
@ -147,4 +147,4 @@ EOT
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console;
/**
* Command to ensure that Doctrine is properly configured for a production environment.
@ -82,4 +82,4 @@ EOT
$output->write('<info>Environment is correctly configured for production.</info>' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ORM\Tools\Console\MetadataFilter,
Doctrine\ORM\Tools\EntityGenerator,
Doctrine\ORM\Tools\DisconnectedClassMetadataFactory;
@ -142,4 +142,4 @@ EOT
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ORM\Tools\Console\MetadataFilter;
/**
@ -112,4 +112,4 @@ EOT
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console,
Doctrine\ORM\Tools\Console\MetadataFilter,
Doctrine\ORM\Tools\EntityRepositoryGenerator;
@ -113,4 +113,4 @@ EOT
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console;
/**
* Command to execute DQL queries in a given EntityManager.
@ -121,4 +121,4 @@ EOT
\Doctrine\Common\Util\Debug::dump($resultSet, $input->getOption('depth'));
}
}
}

View File

@ -21,11 +21,11 @@
namespace Doctrine\ORM\Tools\Console\Command\SchemaTool;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console\Input\InputInterface,
Symfony\Components\Console\Output\OutputInterface,
Symfony\Components\Console\Command\Command,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console\Input\InputInterface,
Symfony\Component\Console\Output\OutputInterface,
Symfony\Component\Console\Command\Command,
Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper,
Doctrine\ORM\Tools\SchemaTool,
Doctrine\ORM\Mapping\Driver\AbstractFileDriver;
@ -61,4 +61,4 @@ abstract class AbstractCommand extends Command
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
}
}
}

View File

@ -21,10 +21,10 @@
namespace Doctrine\ORM\Tools\Console\Command\SchemaTool;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console\Input\InputInterface,
Symfony\Components\Console\Output\OutputInterface,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console\Input\InputInterface,
Symfony\Component\Console\Output\OutputInterface,
Doctrine\ORM\Tools\SchemaTool;
/**
@ -74,4 +74,4 @@ EOT
$output->write('Database schema created successfully!' . PHP_EOL);
}
}
}
}

View File

@ -21,10 +21,10 @@
namespace Doctrine\ORM\Tools\Console\Command\SchemaTool;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console\Input\InputInterface,
Symfony\Components\Console\Output\OutputInterface,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console\Input\InputInterface,
Symfony\Component\Console\Output\OutputInterface,
Doctrine\ORM\Tools\SchemaTool;
/**
@ -75,4 +75,4 @@ EOT
$output->write('Database schema dropped successfully!' . PHP_EOL);
}
}
}
}

View File

@ -21,10 +21,10 @@
namespace Doctrine\ORM\Tools\Console\Command\SchemaTool;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console\Input\InputInterface,
Symfony\Components\Console\Output\OutputInterface,
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console\Input\InputInterface,
Symfony\Component\Console\Output\OutputInterface,
Doctrine\ORM\Tools\SchemaTool;
/**
@ -83,4 +83,4 @@ EOT
$output->write('Database schema updated successfully!' . PHP_EOL);
}
}
}
}

View File

@ -21,9 +21,9 @@
namespace Doctrine\ORM\Tools\Console\Command;
use Symfony\Components\Console\Input\InputArgument,
Symfony\Components\Console\Input\InputOption,
Symfony\Components\Console;
use Symfony\Component\Console\Input\InputArgument,
Symfony\Component\Console\Input\InputOption,
Symfony\Component\Console;
/**
* Validate that the current mapping is valid
@ -86,4 +86,4 @@ EOT
exit($exit);
}
}
}

View File

@ -21,7 +21,7 @@
namespace Doctrine\ORM\Tools\Console\Helper;
use Symfony\Components\Console\Helper\Helper,
use Symfony\Component\Console\Helper\Helper,
Doctrine\ORM\EntityManager;
/**
@ -71,4 +71,4 @@ class EntityManagerHelper extends Helper
{
return 'entityManager';
}
}
}

View File

@ -70,10 +70,10 @@ class ConvertDoctrine1Schema
if (is_dir($path)) {
$files = glob($path . '/*.yml');
foreach ($files as $file) {
$schema = array_merge($schema, (array) \Symfony\Components\Yaml\Yaml::load($file));
$schema = array_merge($schema, (array) \Symfony\Component\Yaml\Yaml::load($file));
}
} else {
$schema = array_merge($schema, (array) \Symfony\Components\Yaml\Yaml::load($path));
$schema = array_merge($schema, (array) \Symfony\Component\Yaml\Yaml::load($path));
}
}
@ -271,4 +271,4 @@ class ConvertDoctrine1Schema
}
}
}
}
}

View File

@ -198,6 +198,6 @@ class YamlExporter extends AbstractExporter
$array['lifecycleCallbacks'] = $metadata->lifecycleCallbacks;
}
return \Symfony\Components\Yaml\Yaml::dump(array($metadata->name => $array), 10);
return \Symfony\Component\Yaml\Yaml::dump(array($metadata->name => $array), 10);
}
}
}

View File

@ -1,22 +1,22 @@
<?php
namespace Symfony\Components\Console;
namespace Symfony\Component\Console;
use Symfony\Components\Console\Input\InputInterface;
use Symfony\Components\Console\Input\ArgvInput;
use Symfony\Components\Console\Input\ArrayInput;
use Symfony\Components\Console\Input\InputDefinition;
use Symfony\Components\Console\Input\InputOption;
use Symfony\Components\Console\Input\InputArgument;
use Symfony\Components\Console\Output\OutputInterface;
use Symfony\Components\Console\Output\Output;
use Symfony\Components\Console\Output\ConsoleOutput;
use Symfony\Components\Console\Command\Command;
use Symfony\Components\Console\Command\HelpCommand;
use Symfony\Components\Console\Command\ListCommand;
use Symfony\Components\Console\Helper\HelperSet;
use Symfony\Components\Console\Helper\FormatterHelper;
use Symfony\Components\Console\Helper\DialogHelper;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Command\HelpCommand;
use Symfony\Component\Console\Command\ListCommand;
use Symfony\Component\Console\Helper\HelperSet;
use Symfony\Component\Console\Helper\FormatterHelper;
use Symfony\Component\Console\Helper\DialogHelper;
/*
* This file is part of the symfony framework.

View File

@ -1,13 +1,13 @@
<?php
namespace Symfony\Components\Console\Command;
namespace Symfony\Component\Console\Command;
use Symfony\Components\Console\Input\InputDefinition;
use Symfony\Components\Console\Input\InputOption;
use Symfony\Components\Console\Input\InputArgument;
use Symfony\Components\Console\Input\InputInterface;
use Symfony\Components\Console\Output\OutputInterface;
use Symfony\Components\Console\Application;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Application;
/*
* This file is part of the symfony framework.

View File

@ -1,13 +1,13 @@
<?php
namespace Symfony\Components\Console\Command;
namespace Symfony\Component\Console\Command;
use Symfony\Components\Console\Input\InputArgument;
use Symfony\Components\Console\Input\InputOption;
use Symfony\Components\Console\Input\InputInterface;
use Symfony\Components\Console\Output\OutputInterface;
use Symfony\Components\Console\Output\Output;
use Symfony\Components\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
use Symfony\Component\Console\Command\Command;
/*
* This file is part of the symfony framework.

View File

@ -1,13 +1,13 @@
<?php
namespace Symfony\Components\Console\Command;
namespace Symfony\Component\Console\Command;
use Symfony\Components\Console\Input\InputArgument;
use Symfony\Components\Console\Input\InputOption;
use Symfony\Components\Console\Input\InputInterface;
use Symfony\Components\Console\Output\OutputInterface;
use Symfony\Components\Console\Output\Output;
use Symfony\Components\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
use Symfony\Component\Console\Command\Command;
/*
* This file is part of the symfony framework.

View File

@ -1,8 +1,8 @@
<?php
namespace Symfony\Components\Console\Helper;
namespace Symfony\Component\Console\Helper;
use Symfony\Components\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Helper;
namespace Symfony\Component\Console\Helper;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Helper;
namespace Symfony\Component\Console\Helper;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Helper;
namespace Symfony\Component\Console\Helper;
/*
* This file is part of the symfony framework.

View File

@ -1,8 +1,8 @@
<?php
namespace Symfony\Components\Console\Helper;
namespace Symfony\Component\Console\Helper;
use Symfony\Components\Console\Command\Command;
use Symfony\Component\Console\Command\Command;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Input;
namespace Symfony\Component\Console\Input;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Output;
namespace Symfony\Component\Console\Output;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Output;
namespace Symfony\Component\Console\Output;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Output;
namespace Symfony\Component\Console\Output;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Output;
namespace Symfony\Component\Console\Output;
/*
* This file is part of the symfony framework.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Console\Output;
namespace Symfony\Component\Console\Output;
/*
* This file is part of the symfony framework.

View File

@ -1,10 +1,10 @@
<?php
namespace Symfony\Components\Console;
namespace Symfony\Component\Console;
use Symfony\Components\Console\Application;
use Symfony\Components\Console\Input\StringInput;
use Symfony\Components\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\StringInput;
use Symfony\Component\Console\Output\ConsoleOutput;
/*
* This file is part of the symfony framework.

View File

@ -1,10 +1,10 @@
<?php
namespace Symfony\Components\Console\Tester;
namespace Symfony\Component\Console\Tester;
use Symfony\Components\Console\Application;
use Symfony\Components\Console\Input\ArrayInput;
use Symfony\Components\Console\Output\StreamOutput;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\StreamOutput;
class ApplicationTester
{

View File

@ -1,10 +1,10 @@
<?php
namespace Symfony\Components\Console\Tester;
namespace Symfony\Component\Console\Tester;
use Symfony\Components\Console\Command\Command;
use Symfony\Components\Console\Input\ArrayInput;
use Symfony\Components\Console\Output\StreamOutput;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\StreamOutput;
class CommandTester
{

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Yaml;
namespace Symfony\Component\Yaml;
/*
* This file is part of the symfony package.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Yaml;
namespace Symfony\Component\Yaml;
/*
* This file is part of the symfony package.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Yaml;
namespace Symfony\Component\Yaml;
/*
* This file is part of the symfony package.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Yaml;
namespace Symfony\Component\Yaml;
/*
* This file is part of the symfony package.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Yaml;
namespace Symfony\Component\Yaml;
/*
* This file is part of the symfony package.

View File

@ -1,6 +1,6 @@
<?php
namespace Symfony\Components\Yaml;
namespace Symfony\Component\Yaml;
/*
* This file is part of the symfony package.

View File

@ -12,10 +12,10 @@ class YamlMappingDriverTest extends AbstractMappingDriverTest
{
protected function _loadDriver()
{
if (!class_exists('Symfony\Components\Yaml\Yaml', true)) {
if (!class_exists('Symfony\Component\Yaml\Yaml', true)) {
$this->markTestSkipped('Please install Symfony YAML Component into the include path of your PHP installation.');
}
return new YamlDriver(__DIR__ . DIRECTORY_SEPARATOR . 'yaml');
}
}
}

View File

@ -61,7 +61,7 @@ class ConvertDoctrine1SchemaTest extends \Doctrine\Tests\OrmTestCase
public function testTest()
{
if ( ! class_exists('Symfony\Components\Yaml\Yaml', true)) {
if ( ! class_exists('Symfony\Component\Yaml\Yaml', true)) {
$this->markTestSkipped('Please install Symfony YAML Component into the include path of your PHP installation.');
}
@ -100,4 +100,4 @@ class ConvertDoctrine1SchemaTest extends \Doctrine\Tests\OrmTestCase
unlink(__DIR__ . '/convert/Profile.dcm.yml');
rmdir(__DIR__ . '/convert');
}
}
}

View File

@ -37,10 +37,10 @@ class YamlClassMetadataExporterTest extends AbstractClassMetadataExporterTest
{
protected function _getType()
{
if (!class_exists('Symfony\Components\Yaml\Yaml', true)) {
if (!class_exists('Symfony\Component\Yaml\Yaml', true)) {
$this->markTestSkipped('Please install Symfony YAML Component into the include path of your PHP installation.');
}
return 'yaml';
}
}
}

View File

@ -18,7 +18,7 @@ $classLoader->register();
// Variable $helperSet is defined inside cli-config.php
require __DIR__ . '/cli-config.php';
$cli = new \Symfony\Components\Console\Application('Doctrine Command Line Interface', Doctrine\Common\Version::VERSION);
$cli = new \Symfony\Component\Console\Application('Doctrine Command Line Interface', Doctrine\Common\Version::VERSION);
$cli->setCatchExceptions(true);
$helperSet = $cli->getHelperSet();
foreach ($helpers as $name => $helper) {
@ -46,4 +46,4 @@ $cli->addCommands(array(
new \Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand(),
));
$cli->run();
$cli->run();