public function flush()
    {
        $output = $this->getXml()->flush();
        fwrite($this->resource, $output);
        return $this;
    }
public function flush()
    {
        $output = $this->getXml()->flush();
        fwrite($this->resource, $output);
        return $this;
    }
public function flush ( ) { $ output = $ this -> getXml ( ) -> flush ( ) ; fwrite ( $ this -> resource , $ output ) ; return $ this ; }
Flush current content of writer to resource
@return $this
Flush current content of writer to resource