protected function configure() { parent::configure(); $this->setName('doctrine:schema:create')->addOption('em', null, InputOption::PARAMETER_OPTIONAL, 'The entity manager to use for this command.')->setHelp(<<<EOT The <info>doctrine:schema:create</info> command creates the default entity managers schema: <info>./symfony doctrine:schema:create</info> You can also optionally specify the name of a entity manager to create the schema for: <info>./symfony doctrine:schema:create --em=default</info> EOT ); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:schema:create')->setDescription('Executes (or dumps) the SQL needed to generate the database schema.')->setHelp(<<<EOT The <info>doctrine:schema:create</info> command executes the SQL needed to generate the database schema for the default entity manager: <info>./app/console doctrine:schema:create</info> Finally, instead of executing the SQL, you can output the SQL: <info>./app/console doctrine:schema:create --dump-sql</info> EOT ); }
protected function configure() { parent::configure(); $this->setName('doctrine:schema:create')->setDescription('Executes (or dumps) the SQL needed to generate the database schema.')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command')->setHelp(<<<EOT The <info>doctrine:schema:create</info> command executes the SQL needed to generate the database schema for the default entity manager: <info>./app/console doctrine:schema:create</info> You can also generate the database schema for a specific entity manager: <info>./app/console doctrine:schema:create --em=default</info> Finally, instead of executing the SQL, you can output the SQL: <info>./app/console doctrine:schema:create --dump-sql</info> EOT ); }
protected function configure() { parent::configure(); $this->setName('doctrine:schema:create'); $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'Entity manager to use')->addOption('con', null, InputOption::VALUE_OPTIONAL, 'Connection to use'); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->addOption('em', NULL, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:schema:create')->setDescription('Executes (or dumps) the SQL needed to generate the database schema')->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:create'); }