<commit_before><?php

namespace ViewerBundle\Entity;

/**
 * ServerUrl
 */
class ServerUrl
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $url;

    /**
     * @var string
     */
    private $label;

    /**
     * @var \Core\ProjectBundle\Entity\Project
     */
    private $project;

    /**
     * @var \Core\ProjectBundle\Entity\Domain
     */
    private $domain;


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

    /**
     * Set url
     *
     * @param string $url
     *
     * @return ServerUrl
     */
    public function setUrl($url)
    {
        $this->url = $url;

        return $this;
    }

    /**
     * Get url
     *
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Set label
     *
     * @param string $label
     *
     * @return ServerUrl
     */
    public function setLabel($label)
    {
        $this->label = $label;

        return $this;
    }

    /**
     * Get label
     *
     * @return string
     */
    public function getLabel()
    {
        return $this->label;
    }

    /**
     * Set project
     *
     * @param \Core\ProjectBundle\Entity\Project $project
     *
     * @return ServerUrl
     */
    public function setProject(\Core\ProjectBundle\Entity\Project $project = null)
    {
        $this->project = $project;

        return $this;
    }

    /**
     * Get project
     *
     * @return \Core\ProjectBundle\Entity\Project
     */
    public function getProject()
    {
        return $this->project;
    }

    /**
     * Set domain
     *
     * @param \Core\ProjectBundle\Entity\Domain $domain
     *
     * @return ServerUrl
     */
    public function setDomain(\Core\ProjectBundle\Entity\Domain $domain = null)
    {
        $this->domain = $domain;

        return $this;
    }

    /**
     * Get domain
     *
     * @return \Core\ProjectBundle\Entity\Domain
     */
    public function getDomain()
    {
        return $this->domain;
    }
}
<commit_msg>Add __toString function<commit_after><?php

namespace ViewerBundle\Entity;

/**
 * ServerUrl
 */
class ServerUrl
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $url;

    /**
     * @var string
     */
    private $label;

    /**
     * @var \Core\ProjectBundle\Entity\Project
     */
    private $project;

    /**
     * @var \Core\ProjectBundle\Entity\Domain
     */
    private $domain;


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

    /**
     * Set url
     *
     * @param string $url
     *
     * @return ServerUrl
     */
    public function setUrl($url)
    {
        $this->url = $url;

        return $this;
    }

    /**
     * Get url
     *
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Set label
     *
     * @param string $label
     *
     * @return ServerUrl
     */
    public function setLabel($label)
    {
        $this->label = $label;

        return $this;
    }

    /**
     * Get label
     *
     * @return string
     */
    public function getLabel()
    {
        return $this->label;
    }

    /**
     * Set project
     *
     * @param \Core\ProjectBundle\Entity\Project $project
     *
     * @return ServerUrl
     */
    public function setProject(\Core\ProjectBundle\Entity\Project $project = null)
    {
        $this->project = $project;

        return $this;
    }

    /**
     * Get project
     *
     * @return \Core\ProjectBundle\Entity\Project
     */
    public function getProject()
    {
        return $this->project;
    }

    /**
     * Set domain
     *
     * @param \Core\ProjectBundle\Entity\Domain $domain
     *
     * @return ServerUrl
     */
    public function setDomain(\Core\ProjectBundle\Entity\Domain $domain = null)
    {
        $this->domain = $domain;

        return $this;
    }

    /**
     * Get domain
     *
     * @return \Core\ProjectBundle\Entity\Domain
     */
    public function getDomain()
    {
        return $this->domain;
    }

    public function __toString() {
        return $this->getUrl();
    }
}

{'fraction_non_alphanumeric': 0.13284132841328414, 'fraction_numerical': 0.0, 'mean_word_length': 1.4256152125279642, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, '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': '394859', 'n_tokens_mistral': 1367, 'n_tokens_neox': 1331, 'n_words': 269}