public static function start($handleErrors = true, $handleExceptions = true, $sourceBasePath = null)
 {
     if (self::$instance) {
         die('PhpConsole already started');
     }
     self::$instance = new PhpConsole($handleErrors, $handleExceptions, $sourceBasePath);
 }
Exemple #2
0
 public static function start($handleErrors = true, $handleExceptions = true, $sourceBasePath = null)
 {
     if (!self::$instance) {
         self::$instance = new PhpConsole($handleErrors, $handleExceptions, $sourceBasePath);
     }
 }