public function getData() { $stream = $this->getStream(); if ($stream) { return stream_get_contents($stream); } return ""; }