* @since 1.1.0.0 */ class ImageDoc implements iDocument { private $outputType = Mime::TYPE_JPEG; private $image; public function getMimeType() { return $this->outputType; } public function getSize() { return strlen($this->image); } public function setContent($c) { $this->image = $c; } public function getContent() { return $this->image; } }