/** * Singleton * * @return object $instance Additions */ public static function instance() { if (false === self::$instance) { self::$instance = new self(); } return self::$instance; }
/** * Singleton * * @return object */ public static function instance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }