Example #1
0
 public function __construct()
 {
     if ($this->provider === null) {
         $this->provider = new SQLImpressionsProvider();
     }
     if ($this->peopleTagManager === null) {
         $this->peopleTagManager = PeopleTagManager::getInstance();
     }
     if ($this->impressionTagManager === null) {
         $this->impressionTagManager = ImpressionTagManager::getInstance();
     }
 }
Example #2
0
 public static function getInstance()
 {
     if (self::$Instance === null) {
         self::$Instance = new ImpressionTagManager();
     }
     return self::$Instance;
 }