<commit_before><?php

namespace Support;

use MapasCulturais\App;

class Module extends \MapasCulturais\Module
{
    public function __construct(array $config = [])
    {
        $app = App::i();

        $config += [];
        parent::__construct($config);
    }


    public function _init()
    {
        $app = App::i();

        $self = $this;

        // Adiciona a aba do módulo de suporte dentro da opportunidade
        $app->hook('template(opportunity.single.tabs):end', function () use ($app) {
            if ($this->controller->requestedEntity->canUser("@control")) {
                $this->part('support/opportunity-support--tab');
            }
        });

        // Adiciona conteúdo na aba de suporte dentro da opportunidade
        $app->hook('template(opportunity.single.tabs-content):end', function () use ($app, $self) {<commit_msg>adiciona constante para o grupo dos agentes de suporte (#1722)<commit_after><?php

namespace Support;

use MapasCulturais\App;

class Module extends \MapasCulturais\Module
{
    public const SUPPORT_GROUP = "@support";

    public function __construct(array $config = [])
    {
        $app = App::i();

        $config += [];
        parent::__construct($config);
    }


    public function _init()
    {
        $app = App::i();

        $self = $this;

        // Adiciona a aba do módulo de suporte dentro da opportunidade
        $app->hook('template(opportunity.single.tabs):end', function () use ($app) {
            if ($this->controller->requestedEntity->canUser("@control")) {
                $this->part('support/opportunity-support--tab');
            }
        });

        // Adiciona conteúdo na aba de suporte dentro da opportunidade
        $app->hook('template(opportunity.single.tabs-content):end', function () use ($app, $self) {
{'fraction_non_alphanumeric': 0.1440443213296399, 'fraction_numerical': 0.00221606648199446, 'mean_word_length': 2.541176470588235, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '2978129', 'n_tokens_mistral': 547, 'n_tokens_neox': 534, 'n_words': 123}