Blame | Last modification | View Log | Download
## Writers### MathMLThe name of the writer is `MathML`.``` php<?phpuse PhpOffice\Math\Element;use PhpOffice\Math\Math;use PhpOffice\Math\Writer\MathML;$math = new Math();$math->add(new Element\Operator('+'));$writer = new MathML();$output = $writer->write($math);```### OfficeMathMLThe name of the writer is `OfficeMathML`.``` php<?phpuse PhpOffice\Math\Element;use PhpOffice\Math\Math;use PhpOffice\Math\Writer\OfficeMathML;$math = new Math();$math->add(new Element\Operator('+'));$writer = new OfficeMathML();$output = $writer->write($math);```## Methods### writerThe method has one parameter :* `PhpOffice\Math\Math` **$math**The method returns a `string`.