Flow PHP

Range

Read onlyYes
FinalYes

Methods

__construct()  : mixed
Constructor to initialize offset and limit.
toString()  : string
Returns the Range header string.

Methods

__construct()

Constructor to initialize offset and limit.

public __construct([null|int $offset = null ][, null|int $limit = null ]) : mixed
Parameters
$offset : null|int = null

the starting byte position (nullable for reading from the end)

$limit : null|int = null

the number of bytes to read (nullable for reading until the end)

toString()

Returns the Range header string.

public toString() : string
Return values
string

the formatted Range header


        
On this page

Search results