Skip to content

Commit

Permalink
Adding a setStream method to StreamInterface. Helps with custom rewin…
Browse files Browse the repository at this point in the history
…d behaviors.
  • Loading branch information
mtdowling committed Nov 11, 2012
1 parent db32490 commit c227ad4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions AbstractEntityBodyDecorator.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ public function getStream()
return $this->body->getStream(); return $this->body->getStream();
} }


/**
* {@inheritdoc}
* @codeCoverageIgnore
*/
public function setStream($stream, $size = 0)
{
return $this->body->setStream($stream, $size);
}

/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
Expand Down

0 comments on commit c227ad4

Please sign in to comment.