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