public function disconnect()
    {
        if (!is_array($this->conn) || !count($this->conn)) {
            return;
        }

        foreach ($this->conn as $conn) {
            Connection::close($conn);
        }
    }
public function disconnect()
    {
        if (!is_array($this->conn) || !count($this->conn)) {
            return;
        }

        foreach ($this->conn as $conn) {
            Connection::close($conn);
        }
    }
public function disconnect ( ) { if ( ! is_array ( $ this -> conn ) || ! count ( $ this -> conn ) ) { return ; } foreach ( $ this -> conn as $ conn ) { Connection :: close ( $ conn ) ; } }
Disconnect from Gearman.
Disconnect from Gearman .