<commit_before><?php

/*
 * This file is part of the Scribe Mantle Bundle.
 *
 * (c) Scribe Inc. <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace Scribe\MantleBundle\Doctrine\Base\Model;

use Scribe\MantleBundle\Entity\Icon;

/**
 * Class HasIcon.
 */
trait HasIcon
{
    /**
     * The icon property.
     *
     * @var Icon
     */
    protected $icon;

    /**
     * Init trait.
     */
    public function initializeIcon()
    {
        $this->icon = null;
    }

    /**
     * Setter for icon property.
     *
     * @param Icon $icon any Icon object instance
     *
     * @return $this
     */
    public function setIcon(Icon $icon = null)<commit_msg>fix for hasicon<commit_after><?php

/*
 * This file is part of the Scribe Mantle Bundle.
 *
 * (c) Scribe Inc. <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace Scribe\MantleBundle\Doctrine\Base\Model;

use Scribe\MantleBundle\Doctrine\Entity\Icon\Icon;

/**
 * Class HasIcon.
 */
trait HasIcon
{
    /**
     * The icon property.
     *
     * @var Icon
     */
    protected $icon;

    /**
     * Init trait.
     */
    public function initializeIcon()
    {
        $this->icon = null;
    }

    /**
     * Setter for icon property.
     *
     * @param Icon $icon any Icon object instance
     *
     * @return $this
     */
    public function setIcon(Icon $icon = null)
{'fraction_non_alphanumeric': 0.11696658097686376, 'fraction_numerical': 0.0, 'mean_word_length': 2.158215010141988, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5306908', 'n_tokens_mistral': 491, 'n_tokens_neox': 485, 'n_words': 147}