Example #1
0
 /** 
  *	Shared
  *	@return \Touchbase\Utils\SystemDetection
  */
 public static function shared()
 {
     $instance = StaticStore::shared()->get(self::DETECTION_KEY, false);
     if (!$instance || is_null($instance)) {
         $instance = new self();
         $instance->findBrowserInformation();
         StaticStore::shared()->set(self::DETECTION_KEY, $instance);
     }
     return $instance;
 }