<commit_before><?php
namespace DrdPlus\Cave\UnitBundle;

use DrdPlus\Cave\UnitBundle\Person\Attributes\Exceptionalities\Choices\ExceptionalityChoice;
use DrdPlus\Cave\UnitBundle\Person\Attributes\Exceptionalities\Fates\AbstractFateEntity;
use DrdPlus\Cave\UnitBundle\Person\Attributes\Experiences\ExperiencesType;
use DrdPlus\Cave\UnitBundle\Person\Attributes\Name;
use DrdPlus\Cave\UnitBundle\Person\Background\BackgroundSkills;
use DrdPlus\Cave\UnitBundle\Person\Background\BelongingsValue;
use DrdPlus\Cave\UnitBundle\Person\Background\Heritage;
use DrdPlus\Cave\UnitBundle\Person\Background\Parts\BackgroundPointsType;
use DrdPlus\Cave\UnitBundle\Person\ProfessionLevels\LevelRank;
use DrdPlus\Cave\UnitBundle\Person\Races\Gender;
use DrdPlus\Cave\UnitBundle\Person\Races\Race;
use DrdPlus\Properties\Agility;
use DrdPlus\Properties\Body\WeightInKg;
use DrdPlus\Properties\Charisma;
use DrdPlus\Properties\Intelligence;
use DrdPlus\Properties\Knack;
use DrdPlus\Properties\Strength;
use DrdPlus\Properties\Will;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class DrdPlusCaveUnitBundle extends Bundle
{
    public function boot()
    {
        $this->registerEnums();
    }

    private function registerEnums()
    {
        Name::registerSelf();
        // only the generic race has to be registered, sub-races are registered automatically
        Race::registerSelf();
        // only the generic gender has to be registered, sub-race genders are registered automatically
        Gender::registerSelf();
        // only the generic choice has to be registered, specific choices are registered automatically
        ExceptionalityChoice::registerSelf();
        // only the generic kind has to be registered, specific kinds are registered automatically
        AbstractFateEntity::registerSelf();

        Strength::registerSelf();
        Agility::registerSelf();
        Knack::registerSelf();
        Will::registerSelf();
        Intelligence::registerSelf();
        Charisma::registerSelf();
//        WeightInKg::registerSelf();

        LevelRank::registerSelf();
        ExperiencesType::registerSelf();

        BackgroundPointsType::registerSelf();
        BackgroundSkills::registerSelf();
        BelongingsValue::registerSelf();
        Heritage::registerSelf();
    }
}<commit_msg>Temporary removed registering of enums<commit_after><?php
namespace DrdPlus\Cave\UnitBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class DrdPlusCaveUnitBundle extends Bundle
{
    public function boot()
    {
        $this->registerEnums();
    }

    private function registerEnums()
    {
        // TODO
    }
}
{'fraction_non_alphanumeric': 0.09882174078297225, 'fraction_numerical': 0.0, 'mean_word_length': 4.071290944123314, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3103701', 'n_tokens_mistral': 744, 'n_tokens_neox': 729, 'n_words': 142}