Bluz\Tests\BootstrapTest::dispatch PHP Method

dispatch() public method

public dispatch ( string $module, string $controller, array $params = [] ) : Controller
$module string
$controller string
$params array
return Bluz\Controller\Controller
    public function dispatch($module, $controller, $params = [])
    {
        $this->dispatchModule = $module;
        $this->dispatchController = $controller;
        try {
            return parent::dispatch($module, $controller, $params);
        } catch (\Exception $e) {
            $this->setException($e);
            throw $e;
        }
    }