|
@ -28,6 +28,13 @@ class CliController |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
* Refuse cloning |
|
|
|
|
|
*/ |
|
|
|
|
|
private function __clone() |
|
|
|
|
|
{ |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
* @static |
|
|
* @static |
|
|
* @return CliController |
|
|
* @return CliController |
|
|
*/ |
|
|
*/ |
|
@ -58,7 +65,8 @@ class CliController |
|
|
echo $profile; |
|
|
echo $profile; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} catch (Exception $e) { |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
catch (Exception $e) { |
|
|
$code = $e->getCode(); |
|
|
$code = $e->getCode(); |
|
|
if ($e instanceof ErrorException) { |
|
|
if ($e instanceof ErrorException) { |
|
|
$code = $e->getSeverity(); |
|
|
$code = $e->getSeverity(); |
|
|