public function createController($route, $owner = null)
    {
        if ($owner === null) {
            $owner = $this;
        }

        if ($route) {
            list($handler, $vars) = $route;
            if ($handler instanceof Closure) {
                $handler->__invoke($this->getComponent('request'));
                $this->end();
            } else {
                list($className, $actionName) = $handler;
                $controller = Creator::createObject($className, time(), $owner === $this ? null : $owner, $this->getComponent('request'));
                return [$controller, $actionName, array_merge($_GET, $vars)];
            }
        }

        return null;
    }