/** * Returns the nutshell instance. * * @static * @access public * @return void */ public static function getInstance() { if (!isset($GLOBALS['NUTSHELL'])) { return Nutshell::init(); } return $GLOBALS['NUTSHELL']; }