Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing AbstractEntityBodyDecorator

  • Loading branch information...
commit 7198817c2a75e6e6689d4b92d29ae234c622259f 1 parent 3e2f0d9
Michael Dowling mtdowling authored
Showing with 43 additions and 0 deletions.
  1. +43 −0 AbstractEntityBodyDecorator.php
43 AbstractEntityBodyDecorator.php
View
@@ -50,6 +50,15 @@ public function __call($method, array $args = null)
* {@inheritdoc}
* @codeCoverageIgnore
*/
+ public function close()
+ {
+ return $this->body->close();
+ }
+
+ /**
+ * {@inheritdoc}
+ * @codeCoverageIgnore
+ */
public function setRewindFunction($callable)
{
return $this->body->setRewindFunction($callable);
@@ -209,6 +218,14 @@ public function isConsumed()
/**
* {@inheritdoc}
*/
+ public function feof()
+ {
+ return $this->body->feof();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function isLocal()
{
return $this->body->isLocal();
@@ -266,4 +283,30 @@ public function ftell()
{
return $this->body->ftell();
}
+
+ /**
+ * {@inheritdoc}
+ * @codeCoverageIgnore
+ */
+ public function getCustomData($key)
+ {
+ return $this->body->getCustomData($key);
+ }
+
+ /**
+ * {@inheritdoc}
+ * @codeCoverageIgnore
+ */
+ public function setCustomData($key, $value)
+ {
+ return $this->body->setCustomData($key, $value);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function readLine($maxLength = null)
+ {
+ return $this->body->readLine($maxLength);
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.