protected function configure() { parent::configure(); $this ->setName('doctrine:schema:drop') ->setDescription('Executes (or dumps) the SQL needed to drop the current database schema.') ->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command') ->setHelp(<<<EOT The <info>doctrine:schema:drop</info> command generates the SQL needed to drop the database schema of the default entity manager: <info>./app/console doctrine:schema:drop --dump-sql</info> Alternatively, you can execute the generated queries: <info>./app/console doctrine:schema:drop --force</info> You can also optionally specify the name of a entity manager to drop the schema for: <info>./app/console doctrine:schema:drop --em=default</info> EOT ); }
protected function configure() { parent::configure(); $this->setName('doctrine:schema:drop')->addOption('em', null, InputOption::PARAMETER_OPTIONAL, 'The entity manager to use for this command.')->setHelp(<<<EOT The <info>doctrine:schema:drop</info> command drops the default entity managers schema: <info>./symfony doctrine:schema:drop</info> You can also optionally specify the name of a entity manager to drop the schema for: <info>./symfony doctrine:schema:drop --em=default</info> EOT ); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:schema:drop')->setDescription('Executes (or dumps) the SQL needed to drop the current database schema')->setHelp(<<<EOT The <info>doctrine:schema:drop</info> command generates the SQL needed to drop the database schema of the default entity manager: <info>php app/console doctrine:schema:drop --dump-sql</info> Alternatively, you can execute the generated queries: <info>php app/console doctrine:schema:drop --force</info> EOT ); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:schema:drop')->setDescription('Executes (or dumps) the SQL needed to drop the current database schema')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->addOption('em', NULL, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }
protected function configure() { parent::configure(); $this->addOption('debug-mode', NULL, InputOption::VALUE_OPTIONAL, "Force Tracy debug mode", TRUE); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:schema:drop'); }
protected function configure() { parent::configure(); $this->setName('doctrine:schema:drop'); $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'Entity manager to use')->addOption('con', null, InputOption::VALUE_OPTIONAL, 'Connection to use'); }