/**
  * Returns class instance
  *
  * @return BOL_MassMailingIgnoreUserService
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
示例#2
0
 public function __construct()
 {
     $this->unsubscribeServise = BOL_MassMailingIgnoreUserService::getInstance();
     $this->userServise = BOL_UserService::getInstance();
 }