Doctrine\DBAL\Connections\MasterSlaveConnection::isConnectedToMaster PHP Метод

isConnectedToMaster() публичный Метод

Checks if the connection is currently towards the master or not.
public isConnectedToMaster ( ) : boolean
Результат boolean
    public function isConnectedToMaster()
    {
        return $this->_conn !== null && $this->_conn === $this->connections['master'];
    }