<commit_before><?php
/**
 * Created by PhpStorm.
 * User: imosiev
 * Date: 17.12.13
 * Time: 16:00
 */

namespace Verber\DevTime\GalleryBundle\Menu;

use Symfony\Component\DependencyInjection\ContainerAware;
use Knp\Menu\FactoryInterface;

class Builder extends ContainerAware
{
    public function mainMenu(FactoryInterface $factory, array $options)
    {
        $menu = $factory->createItem('root');
        /** @var \Symfony\Component\HttpFoundation\Request $request*/
        $request = $this->container->get('request');
        $menu->setCurrentUri($request->getRequestUri());

        $menu->addChild('Home', array('route' => 'homepage'));
        $menu->addChild('Upload', array('route' => 'create_album'));

        return $menu;

    }
} <commit_msg>Renamed menu item<commit_after><?php
/**
 * Created by PhpStorm.
 * User: imosiev
 * Date: 17.12.13
 * Time: 16:00
 */

namespace Verber\DevTime\GalleryBundle\Menu;

use Symfony\Component\DependencyInjection\ContainerAware;
use Knp\Menu\FactoryInterface;

class Builder extends ContainerAware
{
    public function mainMenu(FactoryInterface $factory, array $options)
    {
        $menu = $factory->createItem('root');
        /** @var \Symfony\Component\HttpFoundation\Request $request*/
        $request = $this->container->get('request');
        $menu->setCurrentUri($request->getRequestUri());

        $menu->addChild('Home', array('route' => 'homepage'));
        $menu->addChild('Create Album', array('route' => 'create_album'));

        return $menu;

    }
} 
{'fraction_non_alphanumeric': 0.15816993464052287, 'fraction_numerical': 0.013071895424836602, 'mean_word_length': 3.667682926829268, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '3428149', 'n_tokens_mistral': 477, 'n_tokens_neox': 457, 'n_words': 87}