<commit_before><?php
namespace DoctrineMongoODMDatafixture\Command;

use Doctrine\ODM\MongoDB\Tools\Console\Command\Schema\AbstractCommand;
use Doctrine\ODM\MongoDB\SchemaManager;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Doctrine\Common\DataFixtures\Loader;
use Doctrine\Common\DataFixtures\Executor\MongoDBExecutor;
use Doctrine\Common\DataFixtures\Purger\MongoDBPurger;

/**
 * Command to create the database schema for a set of classes based on their mappings.
 *
 * @since   1.0
 * @author  <NAME> <<EMAIL>>
 */
class DoctrineMongoODMDatafixtureCommand extends AbstractCommand
{
    protected function configure()
    {
        $this
            ->setName('odm:fixture:load')
            ->setDescription('Load data fixtures to your database.')
            ->addOption('fixtures', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'The directory to load data fixtures from.')
            ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'Set document manager.')
            ->addOption('append', null, InputOption::VALUE_NONE, 'Append the data fixtures instead of deleting all data from the database first.')
            ->setHelp(<<<EOT
The <info>odm:fixture:load</info> command loads data fixtures from your bundles:
  <info>php public/index.php odm:fixture:load</info>
You can also optionally specify the path to fixtures with the <info>--fixtures</info> option:
  <info>php public/index.php odm:fixture:load --fixtures=/path/to/fixtures1 --fixtures=/path/to/fixtures2</info><commit_msg>Fix application description<commit_after><?php
namespace DoctrineMongoODMDatafixture\Command;

use Doctrine\ODM\MongoDB\Tools\Console\Command\Schema\AbstractCommand;
use Doctrine\ODM\MongoDB\SchemaManager;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Doctrine\Common\DataFixtures\Loader;
use Doctrine\Common\DataFixtures\Executor\MongoDBExecutor;
use Doctrine\Common\DataFixtures\Purger\MongoDBPurger;

/**
 * Command to create the database schema for a set of classes based on their mappings.
 *
 * @since   1.0
 * @author  <NAME> <<EMAIL>>
 */
class DoctrineMongoODMDatafixtureCommand extends AbstractCommand
{
    protected function configure()
    {
        $this
            ->setName('odm:fixture:load')
            ->setDescription('Load data fixtures to your database.')
            ->addOption('fixtures', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'The directory to load data fixtures from.')
            ->addOption('dm', null, InputOption::VALUE_OPTIONAL, 'The name of the documentmanager to use. If none is provided, it will use odm_default.')
            ->addOption('append', null, InputOption::VALUE_NONE, 'Append the data fixtures instead of deleting all data from the database first.')
            ->setHelp(<<<EOT
The <info>odm:fixture:load</info> command loads data fixtures from your bundles:
  <info>php public/index.php odm:fixture:load</info>
You can also optionally specify the path to fixtures with the <info>--fixtures</info> option:
  <info>php public/index.php odm:fixture:load --fixtures=/path/to/fixtures1 --fixtures=/path/to/fixtures2</info>
{'fraction_non_alphanumeric': 0.11077844311377245, 'fraction_numerical': 0.0023952095808383233, 'mean_word_length': 4.495065789473684, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2407787', 'n_tokens_mistral': 992, 'n_tokens_neox': 971, 'n_words': 249}