/** * Returns class instance * * @return YNCONTACTIMPORTER_BOL_StatisticDao */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
private function __construct() { $this->invitationDao = YNCONTACTIMPORTER_BOL_InvitationDao::getInstance(); $this->statisticDao = YNCONTACTIMPORTER_BOL_StatisticDao::getInstance(); $this->joinedDao = YNCONTACTIMPORTER_BOL_JoinedDao::getInstance(); }