withBody() public method

public withBody ( Psr\Http\Message\StreamInterface $body )
$body Psr\Http\Message\StreamInterface
Example #1
0
 /**
  * {@inheritDoc}
  */
 public function withBody(StreamInterface $body)
 {
     return new self($this->app, parent::withBody($body));
 }