src/core/CliCtrlResolver.php
protected function tryAssignController(): void
    {
        if (isset($this->routeMap['cli'])) {
            foreach ($this->routeMap['cli'] as $route => $config) {
                if ($route === $this->requestRoute) {
                    AppHelper::getInstance()->setRouteConfig($config);
                    $this->ctrlName   = $config['ctrl'][0];
                    $this->actionName = $config['ctrl'][1];
                    break;
                }
            }
        }
    }
protected function tryAssignController(): void
    {
        if (isset($this->routeMap['cli'])) {
            foreach ($this->routeMap['cli'] as $route => $config) {
                if ($route === $this->requestRoute) {
                    AppHelper::getInstance()->setRouteConfig($config);
                    $this->ctrlName   = $config['ctrl'][0];
                    $this->actionName = $config['ctrl'][1];
                    break;
                }
            }
        }
    }
{@inheritdoc}