function checkinConnection(\Plasma\DriverInterface $driver): void {
        if($driver->getConnectionState() !== \Plasma\DriverInterface::CONNECTION_UNUSABLE && !$this->goingAway) {
            $this->connections->add($driver);
            $this->busyConnections->delete($driver);
        }
    }
function checkinConnection(\Plasma\DriverInterface $driver): void {
        if($driver->getConnectionState() !== \Plasma\DriverInterface::CONNECTION_UNUSABLE && !$this->goingAway) {
            $this->connections->add($driver);
            $this->busyConnections->delete($driver);
        }
    }
function checkinConnection ( \ Plasma \ DriverInterface $ driver ) : void { if ( $ driver -> getConnectionState ( ) !== \ Plasma \ DriverInterface :: CONNECTION_UNUSABLE && ! $ this -> goingAway ) { $ this -> connections -> add ( $ driver ) ; $ this -> busyConnections -> delete ( $ driver ) ; } }
Checks a connection back in, if usable and not closing.
@param \Plasma\DriverInterface  $driver
@return void
Checks a connection back in if usable and not closing .