Flow PHP

SFTPSourceStream implements SourceStream

FinalYes

Interfaces

SourceStream

Methods

__construct()  : mixed
close()  : void
content()  : string
isOpen()  : bool
iterate()  : Generator<int, string>
path()  : Path
read()  : string
readLines()  : Generator<int, string>
size()  : int|null

Methods

iterate()

public iterate([int<1, max> $length = 1 ]) : Generator<int, string>
Parameters
$length : int<1, max> = 1
Return values
Generator<int, string>

read()

public read(int $length, int $offset) : string
Parameters
$length : int
$offset : int
Return values
string

readLines()

public readLines([string $separator = "\n" ][, null|int<1, max> $length = null ]) : Generator<int, string>
Parameters
$separator : string = "\n"
$length : null|int<1, max> = null
Return values
Generator<int, string>
On this page

Search results