/** * Initialize Morfy Application * * <code> * Morfy::init(); * </code> * * @access public */ public static function init() { if (!isset(self::$instance)) { self::$instance = new Morfy(); } return self::$instance; }
/** * Initialize Morfy Application * * <code> * Morfy::init(); * </code> * * @access public * @return object */ public static function init() { return !isset(self::$instance) and self::$instance = new Morfy(); }