src/Agl.php
public static function run($pCache = false, $pDebug = false, $pConfigPath = NULL)
    {
        if (self::$_instance === NULL) {
            self::$_instance = new self($pCache, $pDebug, $pConfigPath);
        } else {
            throw new Exception("The application has already been initialized - use app() to get access to it");
        }
    }
public static function run($pCache = false, $pDebug = false, $pConfigPath = NULL)
    {
        if (self::$_instance === NULL) {
            self::$_instance = new self($pCache, $pDebug, $pConfigPath);
        } else {
            throw new Exception("The application has already been initialized - use app() to get access to it");
        }
    }
public static function run ( $ pCache = false , $ pDebug = false , $ pConfigPath = NULL ) { if ( self :: $ _instance === NULL ) { self :: $ _instance = new self ( $ pCache , $ pDebug , $ pConfigPath ) ; } else { throw new Exception ( "The application has already been initialized - use app() to get access to it" ) ; } }
Create an instance of Agl and initialize it.

@param bool $pCache
@param bool $pDebug
@param null|string $pConfigPath Optional custom configuration path
Create an instance of Agl and initialize it .