Sulu\Bundle\DocumentManagerBundle\Command\FixturesLoadCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('sulu:document:fixtures:load')->setDescription('Load Sulu document fixtures')->addOption('fixtures', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'The directory or file to load data fixtures from.')->addOption('append', null, InputOption::VALUE_NONE, 'Append the data fixtures to the existing data - will not purge the workspace.')->addOption('no-initialize', null, InputOption::VALUE_NONE, 'Do not run the repository initializers after purging the repository.')->setHelp(<<<'EOT'
The <info>sulu:document:fixtures:load</info> command loads data fixtures from
your bundles DataFixtures/Document directory:

  <info>%command.full_name%</info>

You can also optionally specify the path to fixtures with the
<info>--fixtures</info> option:

  <info>%command.full_name% --fixtures=/path/to/fixtures1 --fixtures=/path/to/fixtures2</info>

If you want to append the fixtures instead of flushing the database first you
can use the <info>--append</info> option:

  <info>%command.full_name% --append</info>

This command will also execute any registered Initializer classes after
purging.
EOT
);
    }