public function finalize()
    {
        $this->initialize();

        if (is_resource($this->handle)) {
            fwrite($this->handle, "\n]");
            fclose($this->handle);
        }
    }
public function finalize()
    {
        $this->initialize();

        if (is_resource($this->handle)) {
            fwrite($this->handle, "\n]");
            fclose($this->handle);
        }
    }
public function finalize ( ) { $ this -> initialize ( ) ; if ( is_resource ( $ this -> handle ) ) { fwrite ( $ this -> handle , "\n]" ) ; fclose ( $ this -> handle ) ; } }
Performs finalization.
Performs finalization .