src/Onikiri/Database.php
public function getPort()
    {
        if ($this->isSlave() && ! $this->port) {
            return $this->_master->getPort();
        }
        return $this->port;
    }
public function getPort()
    {
        if ($this->isSlave() && ! $this->port) {
            return $this->_master->getPort();
        }
        return $this->port;
    }
public function getPort ( ) { if ( $ this -> isSlave ( ) && ! $ this -> port ) { return $ this -> _master -> getPort ( ) ; } return $ this -> port ; }
Get port number.

@return  int
Get port number .