<commit_before><?php

namespace Savvy\PagesBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Savvy\PagesBundle\Entity\Content
 *
 * @ORM\Table(name="content")
 * @ORM\Entity(repositoryClass="Savvy\PagesBundle\Entity\ContentRepository")
 */
class Content
{

    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @var text $value
     *
     * @ORM\Column(name="value", type="text")
     */
    protected $value;

    /**
     * @var integer $page
     *
     * @ORM\ManyToOne(targetEntity="Page", inversedBy="contents")
     * @ORM\JoinColumn(name="page_id", referencedColumnName="id", onDelete="CASCADE")
     */
    protected $page;

    /**
     * @var entity $type
     *
     * @ORM\ManyToOne(targetEntity="Oxygen\CmsBundle\Entity\LayoutLayoutField")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="layout_id", referencedColumnName="layout_id", onDelete="CASCADE"),
     *   @ORM\JoinColumn(name="layout_field_name", columnDefinition="VARCHAR(255)", referencedColumnName="name", onDelete="CASCADE")
     * })
     */
    protected $type;

    /**
     * @var entity $field
     *
     * @ORM\ManyToOne(targetEntity="Savvy\PagesBundle\Entity\LayoutField")
     * @ORM\JoinColumn(name="layout_field_id", referencedColumnName="id", onDelete="CASCADE")
     */
    protected $field;

    /**
     * @var text $name
     *
     * @ORM\Column(name="name", type="text")
     */
    protected $name;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set value
     *
     * @param text $value
     */
    public function setValue($value)
    {
        $this->value = $value;
    }

    /**
     * Get value
     *
     * @return text 
     */
    public function getValue()
    {
        return $this->value;
    }

    /**
     * Set name
     *
     * @param text $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * Get name
     *
     * @return text 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set page
     *
     * @param Savvy\PagesBundle\Entity\Page $page
     */
    public function setPage(\Savvy\PagesBundle\Entity\Page $page)
    {
        $this->page = $page;
    }

    /**
     * Get page
     *
     * @return Savvy\PagesBundle\Entity\Page 
     */
    public function getPage()
    {
        return $this->page;
    }

    /**
     * Set type
     *
     * @param Savvy\PagesBundle\Entity\LayoutLayoutField $type
     */
    public function setType(\Savvy\PagesBundle\Entity\LayoutLayoutField $type)
    {
        $this->type = $type;
    }

    /**
     * Get type
     *
     * @return Savvy\PagesBundle\Entity\LayoutLayoutField 
     */
    public function getType()
    {
        return $this->type;
    }

    public function getField()
    {
        return $this->field;
    }

    public function setField($field)
    {
        $this->field = $field;
    }

}<commit_msg>content definition<commit_after><?php

namespace Savvy\PagesBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Savvy\PagesBundle\Entity\Content
 *
 * @ORM\Table(name="content")
 * @ORM\Entity(repositoryClass="Savvy\PagesBundle\Entity\ContentRepository")
 */
class Content
{

    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @var text $value
     *
     * @ORM\Column(name="value", type="text")
     */
    protected $value;

    /**
     * @var integer $page
     *
     * @ORM\ManyToOne(targetEntity="Page", inversedBy="contents")
     * @ORM\JoinColumn(name="page_id", referencedColumnName="id", onDelete="CASCADE")
     */
    protected $page;

    /**
     * @var entity $type
     *
     * @ORM\ManyToOne(targetEntity="Savvy\PagesBundle\Entity\LayoutLayoutField")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="layout_id", referencedColumnName="layout_id", onDelete="CASCADE"),
     *   @ORM\JoinColumn(name="layout_field_name", columnDefinition="VARCHAR(255)", referencedColumnName="name", onDelete="CASCADE")
     * })
     */
    protected $type;

    /**
     * @var entity $field
     *
     * @ORM\ManyToOne(targetEntity="Savvy\PagesBundle\Entity\LayoutField")
     * @ORM\JoinColumn(name="layout_field_id", referencedColumnName="id", onDelete="CASCADE")
     */
    protected $field;

    /**
     * @var text $name
     *
     * @ORM\Column(name="name", type="text")
     */
    protected $name;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set value
     *
     * @param text $value
     */
    public function setValue($value)
    {
        $this->value = $value;
    }

    /**
     * Get value
     *
     * @return text 
     */
    public function getValue()
    {
        return $this->value;
    }

    /**
     * Set name
     *
     * @param text $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * Get name
     *
     * @return text 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set page
     *
     * @param Savvy\PagesBundle\Entity\Page $page
     */
    public function setPage(\Savvy\PagesBundle\Entity\Page $page)
    {
        $this->page = $page;
    }

    /**
     * Get page
     *
     * @return Savvy\PagesBundle\Entity\Page 
     */
    public function getPage()
    {
        return $this->page;
    }

    /**
     * Set type
     *
     * @param Savvy\PagesBundle\Entity\LayoutLayoutField $type
     */
    public function setType(\Savvy\PagesBundle\Entity\LayoutLayoutField $type)
    {
        $this->type = $type;
    }

    /**
     * Get type
     *
     * @return Savvy\PagesBundle\Entity\LayoutLayoutField 
     */
    public function getType()
    {
        return $this->type;
    }

    public function getField()
    {
        return $this->field;
    }

    public function setField($field)
    {
        $this->field = $field;
    }

}
{'fraction_non_alphanumeric': 0.1514958625079567, 'fraction_numerical': 0.0009548058561425843, 'mean_word_length': 1.9730368968779566, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '4288272', 'n_tokens_mistral': 2090, 'n_tokens_neox': 2017, 'n_words': 331}