Skip to content

Latest commit

 

History

History
123 lines (84 loc) · 1.91 KB

ResourceStream.md

File metadata and controls

123 lines (84 loc) · 1.91 KB

ResourceStream

  • class ResourceStream (php\io\ResourceStream) extends Stream
  • package std
  • source php/io/ResourceStream.php

Description

Class ResourceStream


Static Methods


Methods


Static Methods

getResources()

ResourceStream::getResources(string $name): ResourceStream[]

Methods

__construct()

__construct(string $path): void

read()

read(int $length): mixed

readFully()

readFully(): mixed

write()

write(string $value, null|int $length): int

eof()

eof(): bool

seek()

seek(int $position): mixed

getPosition()

getPosition(): int

close()

close(): mixed

toExternalForm()

toExternalForm(): string