Exemplo n.º 1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return BOL_RemoteAuthDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Exemplo n.º 2
0
 protected function __construct()
 {
     $this->remoteAuthDao = BOL_RemoteAuthDao::getInstance();
 }
Exemplo n.º 3
0
 public function deleteByUserId($userId)
 {
     return $this->remoteAuthDao->deleteByUserId($userId);
 }