public function socketGet()
    {

        $socket = null;

        if (count($this->sockets) > 0) {
            $socket = array_pop($this->sockets);
        }

        return $socket;
    }
public function socketGet()
    {

        $socket = null;

        if (count($this->sockets) > 0) {
            $socket = array_pop($this->sockets);
        }

        return $socket;
    }
public function socketGet ( ) { $ socket = null ; if ( count ( $ this -> sockets ) > 0 ) { $ socket = array_pop ( $ this -> sockets ) ; } return $ socket ; }
Get a socket from the list to reuse, if any are available

@codeCoverageIgnore

@return \GameQ\Query\Core|null
Get a socket from the list to reuse if any are available