public function Stream::rewind

Rewind to the beginning of the stream

Return value

bool Returns true on success or false on failure

Overrides StreamInterface::rewind

1 call to Stream::rewind()
EntityBody::rewind in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Rewind to the beginning of the stream
1 method overrides Stream::rewind()
EntityBody::rewind in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Rewind to the beginning of the stream

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php, line 299

Class

Stream
PHP stream implementation

Namespace

Guzzle\Stream

Code

public function rewind() {
  return $this
    ->seek(0);
}