<commit_before><?php
/**
 * This file is part of the Networking package.
 *
 * (c) net working AG <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Networking\InitCmsBundle\Menu;

use Knp\Menu\Iterator\RecursiveItemIterator;
use Knp\Menu\Matcher\Voter\UriVoter;
use Networking\InitCmsBundle\Model\MenuItemManagerInterface;
use Symfony\Component\DependencyInjection\ContainerAware;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\SecurityContextInterface;
use Knp\Menu\FactoryInterface;
use Knp\Menu\MenuItem as Menu;
use Networking\InitCmsBundle\Entity\MenuItem;
use Networking\InitCmsBundle\Entity\BasePage as Page;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Translation\Translator;
use Knp\Menu\Matcher\Matcher;
/**
 * Class MenuBuilder
 * @package Networking\InitCmsBundle\Component\Menu
 * @author <NAME> <<EMAIL>>
 */
class MenuBuilder extends ContainerAware
{
    /**
     * @var \Symfony\Component\Security\Core\SecurityContextInterface
     */
    protected $securityContext;
    /**<commit_msg>use of DataCollectorTranlator<commit_after><?php
/**
 * This file is part of the Networking package.
 *
 * (c) net working AG <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Networking\InitCmsBundle\Menu;

use Knp\Menu\Iterator\RecursiveItemIterator;
use Knp\Menu\Matcher\Voter\UriVoter;
use Networking\InitCmsBundle\Model\MenuItemManagerInterface;
use Symfony\Component\DependencyInjection\ContainerAware;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\SecurityContextInterface;
use Knp\Menu\FactoryInterface;
use Knp\Menu\MenuItem as Menu;
use Networking\InitCmsBundle\Entity\MenuItem;
use Networking\InitCmsBundle\Entity\BasePage as Page;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\Translation\DataCollectorTranslator as Translator;
use Knp\Menu\Matcher\Matcher;
/**
 * Class MenuBuilder
 * @package Networking\InitCmsBundle\Component\Menu
 * @author <NAME> <<EMAIL>>
 */
class MenuBuilder extends ContainerAware
{
    /**
     * @var \Symfony\Component\Security\Core\SecurityContextInterface
     */
    protected $securityContext;
    /**
{'fraction_non_alphanumeric': 0.09836065573770492, 'fraction_numerical': 0.0, 'mean_word_length': 5.181818181818182, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, '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': '1263084', 'n_tokens_mistral': 688, 'n_tokens_neox': 690, 'n_words': 164}