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(); } }
public static function getInstance() { if (self::$Instance === null) { self::$Instance = new ImpressionTagManager(); } return self::$Instance; }