withBody() public méthode

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