<?php

namespace Flint\Controller;

use Symfony\Component\HttpFoundation\Request;

class ExceptionController extends Controller
{
    public function showAction(Request $request)
    {
        return 'I am an error';
    }
}

<?php

namespace Flint\Controller;

use Symfony\Component\HttpFoundation\Request;

/**
 * @package Flint
 */
class ExceptionController extends Controller
{
    /**
     * @param Request $request
     * @param string $format
     */
    public function showAction(Request $request, $format)
    {
        return $format;
    }
}

Return the format for the Exception
Return the format for the Exception
