/** * Set $this->instance to the given instance of MobileContext or null * @param MobileContext|null $instance MobileContext instance or null to set * @return MobileContext|null */ public static function setInstance($instance) { self::$instance = $instance; }