CodeIgniter v4.5 API

PhpStreamWrapper
in package

FinalYes

StreamWrapper for php protocol

This class is used for mocking php://stdin.

See https://www.php.net/manual/en/class.streamwrapper.php

Table of Contents

Properties

$context  : resource|null
$content  : string
$position  : int

Methods

register()  : mixed
restore()  : mixed
setContent()  : mixed
stream_eof()  : bool
stream_open()  : bool
stream_read()  : false|string
stream_stat()  : array<string|int, mixed>|false

Properties

Methods

setContent()

public static setContent(string $content) : mixed
Parameters
$content : string

stream_read()

public stream_read(int $count) : false|string
Parameters
$count : int
Return values
false|string

stream_stat()

public stream_stat() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false

        
On this page

Search results