<commit_before>Enhavo\Bundle\SliderBundle\Entity\Slider:
    type: entity
    table: slider_slider
    repositoryClass: Enhavo\Bundle\SliderBundle\Repository\SliderRepository

    id:
        id:
            type: integer
            id: true
            generator:
                strategy: AUTO

    fields:
        title:
            type: string
            length: 255
        code:
            type: string
            length: 255

    oneToMany:
        slides:
            targetEntity: Slide
            mappedBy: slider
            orderBy: {'order': 'ASC'}<commit_msg>slider to persist, refresh, remove slides cascade rule<commit_after>Enhavo\Bundle\SliderBundle\Entity\Slider:
    type: entity
    table: slider_slider
    repositoryClass: Enhavo\Bundle\SliderBundle\Repository\SliderRepository

    id:
        id:
            type: integer
            id: true
            generator:
                strategy: AUTO

    fields:
        title:
            type: string
            length: 255
        code:
            type: string
            length: 255

    oneToMany:
        slides:
            cascade: ['persist', 'refresh', 'remove']
            targetEntity: Slide
            mappedBy: slider
            orderBy: {'order': 'ASC'}
{'fraction_non_alphanumeric': 0.0742218675179569, 'fraction_numerical': 0.009577015163607342, 'mean_word_length': 1.508, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2636110', 'n_tokens_mistral': 343, 'n_tokens_neox': 328, 'n_words': 82}