eZ\Bundle\EzPublishMigrationBundle\Command\LegacyStorage\UpdateSortKeysCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->setName('ezpublish:update:legacy_storage_update_sort_keys')->setDescription('Updates sort keys in configured Legacy Storage database')->addArgument('fieldtype_identifier', InputArgument::REQUIRED, 'Field type identifier')->addArgument('bulk_count', InputArgument::OPTIONAL, 'Number of Content versions processed at once', 100)->addOption('dry-run', null, InputOption::VALUE_NONE, 'Execute a dry run')->setHelp(<<<EOT
The command <info>%command.name%</info> updates field
sort keys in configured Legacy Storage database for a given field type.

Fields will be processed per Content version and updated only if newly generated
sort key does not match stored one. In this case all field data will be updated.

<warning>During the script execution the database should not be modified.

To avoid surprises (particularly if using custom field types) you are advised to
create a backup or execute a dry run before proceeding with actual update.</warning>

Since this script can potentially run for a very long time, to avoid memory
exhaustion run it in production environment using <info>--env=prod</info> switch.

EOT
);
    }