示例#1
0
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_Sender();
     }
     return self::$instance;
 }
示例#2
0
 function __construct()
 {
     parent::__construct();
     // Менеджеры.
     $this->mSender = M_Sender::Instance();
     $this->mSms = M_Sms::Instance();
     $this->mRasp = M_Rasp::Instance();
     $this->mVK = M_VK::Instance();
 }