/** * Read output * * @param integer $start Start popsition OPTIONAL * @param integer $length Length OPTIONAL * * @return boolean */ public function readOutput($start = null, $length = null) { if (self::STORAGE_S3 == $this->getStorageType()) { $result = false; $body = $this->getBody(); if ($body) { if (isset($start)) { $body = isset($length) ? substr($body, $start, $length) : substr($body, $start); } $result = true; print $body; } } else { $result = parent::readOutput($start, $length); } return $result; }