src/Onikiri/Database.php
public function addSlave(array $setting)
    {
        $database = new Database($setting);
        $database->setMaster($this);
        $this->_slaves[] = $database;
    }
public function addSlave(array $setting)
    {
        $database = new Database($setting);
        $database->setMaster($this);
        $this->_slaves[] = $database;
    }
public function addSlave ( array $ setting ) { $ database = new Database ( $ setting ) ; $ database -> setMaster ( $ this ) ; $ this -> _slaves [ ] = $ database ; }
Add slave.

@param   array   $setting
Add slave .