Execute this route
198399
public function execute($params = array())
    {
        $app = $this->router->getAppInstance();
        return $app->trigger("system.routing.route.execute", function($event) {
            $app = $event->props('app');
            $route = $event->props('route');
            $params = $event->props('params');
            if (count($params) == 0) {
                $params = $route->getParams();
            }
            //enhancement, detect the type of the callback
            $callback = $route->getCallback();
            if (is_string($callback)) {
                $callback_comps = explode("#", $callback);
                $callback_object_class = $callback_comps[0]; //starting from root namespace
                $callback_object_class = str_replace(".", "\\", $callback_object_class); 
                $callback_object = new $callback_object_class($app);
                $callback_object_method = $callback_comps[1];
                $callback = array($callback_object, $callback_object_method);
            }
            return call_user_func_array($callback, $params);
        }, array('app' => $app, 'route' => $this, 'params' => $params));
    }
214992
public function run()
    {

        $method = strtoupper($this->getRequest()->getMethod());
        $collections = $this->resolveGroupAndWhen(RouteCollector::getRoutes());


        if (!$this->hasAnyRouteInRequestMethod($collections, $method)) {
            $this->callRouteNotFoundCommand();
        }

        $collections = $collections[$method];


        if (false === $return = $this->isThereEquealUrl($collections)) {
            $return = $this->isThereMatchUrl($collections);
        }

        $this->callRouteNotFoundCommand();
        return $return;
    }
177999
public function handle()
    {
        $routeCollection = $this->router->getRoutes();
        $verb = $this->option('method') == 'null' ? null : strtoupper($this->option('method'));

        if ($routeCollection) {
            foreach ($routeCollection as $route) {
                if (! $verb || in_array($verb, $route->getMethods())) {
                    $info = $route->getPath();
                    if ($this->option('showMethods')) {
                        $info .= ' [' . implode(', ', $route->getMethods()) . ']';
                    }
                    $this->info($info);
                }
            }
        }
    }
776176
public function fire() {
        $rows          = [];
        $real_progress = 0;
        $idx           = 0;
        $last          = null;
        $items         = [];
        foreach (\Route::getRoutes() as $r => $route) {
//            if (!\Larakit\Route\Route::isEnable($route->getName())) {
//                continue;
//            }
            /**
             * @var Route $route
             */
            $item    = [];
            $action  = $route->getActionName();
            $_action = explode('@', $action);
            $method  = Arr::get($_action, 1);
            $class   = Arr::get($_action, 0);
            //            if (($action != 'Closure') && (strpos($action, 'Larakit') === false))
            //                continue;
            if ('Closure' == $action) {
                $progress = 100;
            }
            else {
                if (is_callable(explode('@', $action))) {
                    $readiness = (int)\Larakit\Route\Route::_($route->getName(), 'readiness');
                    if (!$readiness) {
                        $readiness = 1;
                    }
                    $progress = $readiness;
                }
                else {
                    $progress = 0;
                }
            }
            $idx++;
            $real_progress += $progress;
            switch (true) {
                case $progress < 50:
                    $style = 'error';
                    break;
                case $progress < 100:
                    $style = 'question';
                    break;
                default:
                    $style = 'info';
                    break;
            }
            $item[] = $this->wrap($route->domain(), $style);
            $item[] = $this->wrap(implode('|', $route->getMethods()), $style);
            $item[] = $this->wrap($route->getUri(), $style);
            $item[] = $this->wrap($route->getName(), $style);
            if ('Closure' == $action) {
                $item[] = $this->wrap('\Closure', $style);
                $item[] = '';
            }
            else {
                $item[] = $this->wrap($class, $style);
                $item[] = $this->wrap($method, $style);
            }
            $item[] = $this->wrap($idx, $style, 3);
            $item[] = $this->wrap($progress . '%', $style, 9);
            $v      = mb_strpos($route->getName(), '::') ? explode('::', $route->getName()) : [];
            $vendor = Arr::get($v, 0, 'app');
            //            $item[]      = $vendor;

            if (($last != $vendor)) {
                if (!(is_null($last))) {
                    $rows[] = new TableSeparator();
                }
                $last = $vendor;
            }
            $items[$route->getName()] = $item;
        }

        $last = null;
        $rows = [];
        $idx = 0;
        foreach ($items as $route => $row) {
            $idx++;
            $v      = mb_strpos($route, '::') ? explode('::', $route) : [];
            $vendor = Arr::get($v, 0, 'app');
            if (($last != $vendor)) {
                if (!(is_null($last))) {
                    $rows[] = new TableSeparator();
                }
                $last = $vendor;
            }
            $rows[] = [$idx] + $row;
        }
        //        foreach($)
        $this->table(
            [
                'Domain',
                'Method',
                'URI',
                'RouteName',
                'Controller',
                'Action',
                '#',
                'Readiness',
            ],
            $rows
        );
        $progress_all  = count($rows) * 100;
        $real_progress = $real_progress / $progress_all * 100;
        $this->info('Общая готовность: ' . number_format($real_progress, 2) . '%');
        $this->info(
            '[' . str_pad(
                str_repeat('#', (int)$real_progress) . ($real_progress != 100 ? '>' : ''),
                100,
                '-',
                STR_PAD_RIGHT
            ) . ']'
        );
    }
59991
public function execute()
    {
        if (is_string($this->callback)) {
            // Will call the controller here
            $parts = explode('::', $this->callback);
            $className = $parts[0];
            $classMethod = $parts[1];

            if (! class_exists($className)) {
                throw new RouterException("The callback class declared in your middleware is not found: '{$className}'");
            }

            $class = new $className();

            if (! $class instanceof BaseMiddleware) {
                throw new RouterException("The class in your middleware route doesn't extend the BaseMiddleware: '{$className}'"); // @codeCoverageIgnore
            }

            if (! method_exists($class, $classMethod)) {
                throw new RouterException("The class in your middleware route doesn't have the method you provided: '{$className}' method: {$classMethod}");
            }

            // Call the method. Catch return
            $result = call_user_func(array($class, $classMethod));

        } elseif (is_callable($this->callback)) {
            $result = call_user_func($this->callback);

        } else {
            throw new RouterException("Middleware callback is not a class or callable!"); // @codeCoverageIgnore
        }

        // See if we got a boolean back.
        if ($result === false && $this->position === 'before') {
            // We should stop!
            return false;
        }
        return true;
    }
427549
public function execute()
    {
        //authenticate
        if ($this->authenticate()) {
            if ($this->helper->getFeefoLogon()) {
                $this->_view->loadLayout();
                $this->_view->renderLayout();
            }
        }
    }
316506
public function handle()
    {
        $rootDirectory = $this->argument('directory') ?? '';

        if( $rootDirectory == '' ) {

            $files = $this->getConfigFiles();

            foreach ( $files as $file )
                $this->generateRoutes(realpath(implode('/', array_slice(explode('/', $file), 0, -3))) . '/');
        } else
            $this->generateRoutes($rootDirectory);
    }
107319
public function handle()
    {
        if (0 == count($this->routes)) {
            $this->error('Your application does not have any routes.');

            return;
        }

        $this->displayRoutes($this->getRoutes());
    }
1335259
public function exec()
    {
        $name = $this->argument('name');
        $route = $this->argument('route');
        $resource = $this->option('resource');
        $notAliased = $this->option('not_aliased');
        //
        $process = Controller::create($name, $route, $resource);

        if (!$notAliased) {
            $class = ucfirst($name);
            //
            Alias::update('controllers.'.$class, 'App\Controller\\'.$name);
        }
        $this->show($process, $name);
    }
718292
public function run()
    {
        if ($this->route === null && Yii::$app->controller !== null) {
            $this->route = Yii::$app->controller->getRoute();
        }
        if ($this->params === null) {
            $this->params = Yii::$app->request->getQueryParams();
        }
        $items = $this->normalizeItems($this->items, $hasActiveChild);
        if (!empty($items)) {
            $options = $this->options;
            $tag = ArrayHelper::remove($options, 'tag', 'ul');

            if ($tag !== false) {
                echo Html::tag($tag, $this->renderItems($items), $options);
            } else {
                echo $this->renderItems($items);
            }
        }
    }
423810
public function fire()
	{
		$this->table = $this->getHelperSet()->get('table');

		if (count($this->routes) == 0)
		{
			return $this->error("Your application doesn't have any routes.");
		}

		$this->displayRoutes($this->getRoutes());
	}
1282564
def execute(self):
        
        stack = self._stack
        callbacks = self._callbacks
        self._stack = []
        self._callbacks = []

        deferred = []

        build = self._nested_future

        pipe = self._pipeline(self.connection_name)
        for item, args, kwargs, ref in stack:
            f = getattr(pipe, item)
            deferred.append(build(f(*args, **kwargs), ref))

        inject_callbacks = getattr(self.parent, '_inject_callbacks')
        inject_callbacks(deferred + callbacks)
903781
public function exec(): void
    {
        if (Application::route()->isAjax()) {
            // if is ajax
            $this->handleExceptionInAjax($this->e);
        } else {
            // normal request
            $this->handleExceptionInNormalRequest($this->e);
        }
    }
349049
public function handle()
    {
        $this->files->put($this->getOutputPath(), $this->getRouteDefinitions());

        $this->info('Routes scanned!');

        if ($this->option('list')) {
            $this->call('route:list');
        }
    }
36848
public function handle()
	{
		if (!config('openapischemas.router')) {
			$this->error('You need to specify a "router" value in your openapischemas.php configuration file first.');
			exit();
		}

		if (!in_array(config('openapischemas.router'), ['laravel', 'dingo'])) {
			$this->error('The "router" value in your openapischemas.php configuration file must be "laravel" or "dingo".');
			exit();
		}

		$profiles = config('openapischemas.profiles');
		$possibleProfiles = array_keys($profiles);

		if (count($possibleProfiles) > 1) {
			$profileName = $this->choice('For which profile ?', $possibleProfiles);
		} else {
			$profileName = 'default';
		}

		$profile = $profiles[$profileName];

		if (isset($profile['act_as_user_id'])) {
			$this->setUserToBeImpersonated($profile['act_as_user_id']);
		}

		$docBlockFactory = DocBlockFactory::createInstance();

		if (config('openapischemas.router') === 'laravel') {
			$this->generator = new LaravelGenerator($docBlockFactory, $profile, $this);
		} else {
			$this->generator = new DingoGenerator($docBlockFactory, $profile, $this);
		}
		$this->generator->applyProfileOpenApiBindings();
		
		$routes = $this->getRoutes();
		$this->generator->processRoutes($routes);

		file_put_contents($profile['output'], $this->generator->generateJSON());
	}
117983
public function handle()
    {
        $this->tableName = $this->argument('tableName');
        $this->generateModel();
        $this->generateRouteModelBinding();
        $this->generateRoute();
        $this->generateController();
        $this->generateViews();
    }
1308962
public function exec()
    {
        $http = $this->argument('http');
        //
        $process = Router::post($http);
        //
        $this->show($process);
    }