src/Neutrino/Foundation/Cli/Tasks/ListTask.php
protected function describeRoute(Route $route)
    {
        $paths = $route->getPaths();

        $class = $paths['task'];

        $action = Arr::fetch($paths, 'action', 'main') . $this->dispatcher->getActionSuffix();

        $this->scanned[$class . '::' . $action] = true;

        $compiled = Helper::describeRoutePattern($route, true);

        $this->describe($compiled, $class, $action);
    }
protected function describeRoute(Route $route)
    {
        $paths = $route->getPaths();

        $class = $paths['task'];

        $action = Arr::fetch($paths, 'action', 'main') . $this->dispatcher->getActionSuffix();

        $this->scanned[$class . '::' . $action] = true;

        $compiled = Helper::describeRoutePattern($route, true);

        $this->describe($compiled, $class, $action);
    }
Describe a \Phalcon\Cli\Router\Route

@param \Phalcon\Cli\Router\Route $route