Beispiel #1
0
 public function getReadConnection($model)
 {
     if ($this->getDI()->getDbSlave()) {
         $this->setReadConnectionService($model, 'dbSlave');
     }
     return parent::getReadConnection($model);
 }