* @since 1.1.0.0 */ class PDFDoc implements iDocument { private $content; public function __construct() { $this->content = new PDF(); } public function getMimeType() { return Mime::TYPE_PDF; } public function getSize() { return strlen($this->content->Output('','S')); } /** * @return \Mammut\Document\PDF */ public function getPDF() { return $this->content; } public function getContent() { return $this->content->Output('','S'); } }