ResourceStream¶
-
php\io\ResourceStream
extends: php\io\Stream
Class ResourceStream
Methods
__construct
($path)¶
Parameters:
- $path – string
read
($length)¶throws php\io\IOException
Parameters:
- $length – int - - count of bytes
Returns: mixed
readFully
()¶throws php\io\IOException
Returns: mixed
write
($value, $length = null)¶throws php\io\IOException
Parameters:
- $value – string
- $length – null, int
Returns: int
eof
()¶
Returns: bool
seek
($position)¶throws php\io\IOException
Parameters:
- $position – int
Returns: mixed
getPosition
()¶throws php\io\IOException
Returns: int
close
()¶
Returns: mixed
toExternalForm
()¶
Returns: string
- static
getResources
($name)¶
Parameters:
- $name – string
Returns: