HumHub Documentation (unofficial)

RequestStream extends IteratorAggregate

Provides method to convert a input into string or chunks.

Tags
author

Jérémy Derussé jeremy@derusse.com

extends

\IteratorAggregate

Table of Contents

Methods

hash()  : string
length()  : int|null
Length in bytes.
stringify()  : string

Methods

hash()

public hash([string $algo = 'sha256' ][, bool $raw = false ]) : string
Parameters
$algo : string = 'sha256'
$raw : bool = false
Return values
string

length()

Length in bytes.

public length() : int|null
Return values
int|null

stringify()

public stringify() : string
Return values
string

        
On this page

Search results