<commit_before><?php

namespace Jb\TestBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class DefaultController extends Controller
{
    public function indexAction($name)
    {
        return $this->render('JbTestBundle:Default:index.html.twig', array('name' => $name));<commit_msg>Make commande in default route<commit_after><?php

namespace Jb\TestBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Jb\TestBundle\Domain\Command\Test1Command;

class DefaultController extends Controller
{
    public function indexAction($name)
    {

    	$this->get('broadway.command_handling.command_bus')->dispatch(new Test1Command($name));

        return $this->render('JbTestBundle:Default:index.html.twig', array('name' => $name));
{'fraction_non_alphanumeric': 0.12484076433121019, 'fraction_numerical': 0.0025477707006369425, 'mean_word_length': 5.775862068965517, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7144454', 'n_tokens_mistral': 225, 'n_tokens_neox': 223, 'n_words': 39}