\Core\FileSystemPipe

Pipeline class

Summary

Methods
Properties
Constants
create()
exists()
link()
write()
flush()
push()
read()
section()
lock()
unlock()
clone()
close()
recover()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
adjustPoint()
$resource
$point
$eof
$name
$path
N/A

Properties

$resource

$resource : mixed

Type

mixed

$point

$point : int

Type

int

$eof

$eof : int

Type

int

$name

$name : string

Type

string

$path

$path : string

Type

string

Methods

create()

create(?string  $name = null) : \Core\FileSystem\Pipe|false

Parameters

?string $name

Returns

\Core\FileSystem\Pipe|false —

exists()

exists(string|null  $name = null) : bool

Parameters

string|null $name

Returns

bool —

link()

link(string|null  $name = null) : \Core\FileSystem\Pipe|false

Parameters

string|null $name

Returns

\Core\FileSystem\Pipe|false —

write()

write(string  $context, ?int  $start) : int|false

Parameters

string $context
?int $start

Returns

int|false —

flush()

flush() : bool

Returns

bool —

push()

push(string  $content) : int

Parameters

string $content

Returns

int —

read()

read() : string|false

Returns

string|false —

section()

section(int  $start, int  $eof) : string|false

Parameters

int $start
int $eof

Returns

string|false —

lock()

lock(bool  $wait = true) : bool

Parameters

bool $wait

Returns

bool —

unlock()

unlock() : bool

Returns

bool —

clone()

clone() : \Core\FileSystem\Pipe

Returns

\Core\FileSystem\Pipe —

close()

close() : void

recover()

recover() : void

__construct()

__construct(string  $name, int  $eof = -1) : mixed

Parameters

string $name
int $eof

Returns

mixed —

adjustPoint()

adjustPoint(int  $location) : void

Parameters

int $location