src/Helper.php
public static function serve($context = null)
    {
        if(empty($context))
            $context = getenv('ERDIKO_CONTEXT');
        
        $routes = static::getRoutes($context);
        Toro::serve($routes);
    }
public static function serve($context = null)
    {
        if(empty($context))
            $context = getenv('ERDIKO_CONTEXT');
        
        $routes = static::getRoutes($context);
        Toro::serve($routes);
    }
public static function serve ( $ context = null ) { if ( empty ( $ context ) ) $ context = getenv ( 'ERDIKO_CONTEXT' ) ; $ routes = static :: getRoutes ( $ context ) ; Toro :: serve ( $ routes ) ; }
Serve your site
Loads routes based off of context and serves up the current request

@param string $context optional context defaults to getenv('ERDIKO_CONTEXT')
Serve your site Loads routes based off of context and serves up the current request