public function help(Request $request)
    {
        $routes = Console::getRoutes();
        echo 'strayFw console help screen' . PHP_EOL . 'Available actions :' . PHP_EOL . PHP_EOL;
        $namespace = null;
        foreach ($routes as $route) {
            if ($namespace != $route['namespace']) {
                $namespace = $route['namespace'];
                echo $namespace . PHP_EOL . PHP_EOL;
            }
            echo '    ' . $route['usage'] . PHP_EOL;
            if (isset($route['help']) != null) {
                echo '        ' . $route['help'];
            }
            echo PHP_EOL . PHP_EOL;
        }
    }
public function help(Request $request)
    {
        $routes = Console::getRoutes();
        echo 'strayFw console help screen' . PHP_EOL . 'Available actions :' . PHP_EOL . PHP_EOL;
        $namespace = null;
        foreach ($routes as $route) {
            if ($namespace != $route['namespace']) {
                $namespace = $route['namespace'];
                echo $namespace . PHP_EOL . PHP_EOL;
            }
            echo '    ' . $route['usage'] . PHP_EOL;
            if (isset($route['help']) != null) {
                echo '        ' . $route['help'];
            }
            echo PHP_EOL . PHP_EOL;
        }
    }
public function help ( Request $ request ) { $ routes = Console :: getRoutes ( ) ; echo 'strayFw console help screen' . PHP_EOL . 'Available actions :' . PHP_EOL . PHP_EOL ; $ namespace = null ; foreach ( $ routes as $ route ) { if ( $ namespace != $ route [ 'namespace' ] ) { $ namespace = $ route [ 'namespace' ] ; echo $ namespace . PHP_EOL . PHP_EOL ; } echo '    ' . $ route [ 'usage' ] . PHP_EOL ; if ( isset ( $ route [ 'help' ] ) != null ) { echo '        ' . $ route [ 'help' ] ; } echo PHP_EOL . PHP_EOL ; } }
Basic help action listing available all console actions.

@param Request $request current request
Basic help action listing available all console actions .