You are here

public function RelativeStream::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-diactoros/src/RelativeStream.php \Zend\Diactoros\RelativeStream::__construct()

Class constructor

Parameters

StreamInterface $decoratedStream:

int $offset:

File

vendor/zendframework/zend-diactoros/src/RelativeStream.php, line 39

Class

RelativeStream
Class RelativeStream

Namespace

Zend\Diactoros

Code

public function __construct(StreamInterface $decoratedStream, $offset) {
  $this->decoratedStream = $decoratedStream;
  $this->offset = (int) $offset;
}