/var/www/vhosts/ihelp.ro/httpdocs/vendor/laminas/laminas-diactoros/src
NameSizeModeActions
Exception/-0755rm
functions/-0755rm
Request/-0755rm
Response/-0755rm
ServerRequestFilter/-0755rm
AbstractSerializer.php44500644editdlrm
CallbackStream.php32450644editdlrm
ConfigProvider.php19590644editdlrm
HeaderSecurity.php48330644editdlrm
MessageTrait.php132150644editdlrm
Module.php2350644editdlrm
PhpInputStream.php15340644editdlrm
RelativeStream.php32590644editdlrm
Request.php18700644editdlrm
RequestFactory.php3750644editdlrm
RequestTrait.php99600644editdlrm
Response.php58100644editdlrm
ResponseFactory.php4400644editdlrm
ServerRequest.php59730644editdlrm
ServerRequestFactory.php32210644editdlrm
Stream.php85230644editdlrm
StreamFactory.php9040644editdlrm
UploadedFile.php71190644editdlrm
UploadedFileFactory.php7560644editdlrm
Uri.php184400644editdlrm
UriFactory.php79040644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/laminas/laminas-diactoros/src/RelativeStream.php (3259B)
offset = (int) $offset; } /** * {@inheritdoc} */ public function __toString(): string { if ($this->isSeekable()) { $this->seek(0); } return $this->getContents(); } /** * {@inheritdoc} */ public function close(): void { $this->decoratedStream->close(); } /** * {@inheritdoc} */ public function detach() { return $this->decoratedStream->detach(); } /** * {@inheritdoc} */ public function getSize(): int { return $this->decoratedStream->getSize() - $this->offset; } /** * {@inheritdoc} */ public function tell(): int { return $this->decoratedStream->tell() - $this->offset; } /** * {@inheritdoc} */ public function eof(): bool { return $this->decoratedStream->eof(); } /** * {@inheritdoc} */ public function isSeekable(): bool { return $this->decoratedStream->isSeekable(); } /** * {@inheritdoc} */ public function seek($offset, $whence = SEEK_SET): void { if ($whence === SEEK_SET) { $this->decoratedStream->seek($offset + $this->offset, $whence); return; } $this->decoratedStream->seek($offset, $whence); } /** * {@inheritdoc} */ public function rewind(): void { $this->seek(0); } /** * {@inheritdoc} */ public function isWritable(): bool { return $this->decoratedStream->isWritable(); } /** * {@inheritdoc} */ public function write($string): int { if ($this->tell() < 0) { throw new Exception\InvalidStreamPointerPositionException(); } return $this->decoratedStream->write($string); } /** * {@inheritdoc} */ public function isReadable(): bool { return $this->decoratedStream->isReadable(); } /** * {@inheritdoc} */ public function read($length): string { if ($this->tell() < 0) { throw new Exception\InvalidStreamPointerPositionException(); } return $this->decoratedStream->read($length); } /** * {@inheritdoc} */ public function getContents(): string { if ($this->tell() < 0) { throw new Exception\InvalidStreamPointerPositionException(); } return $this->decoratedStream->getContents(); } /** * {@inheritdoc} */ public function getMetadata($key = null) { return $this->decoratedStream->getMetadata($key); } }