FaultInjectionResource
- Full name:
\ZipStream\Test\FaultInjectionResource
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME |
public | 'zipstream-php-test-broken-resource' |
Properties
context
injectFaults
mode
Methods
getResource
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$injectFaults |
array |
stream_open
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$mode |
string | |
$options |
int | |
$opened_path |
string |
stream_write
Parameters:
Parameter | Type | Description |
---|---|---|
$data |
string |
stream_eof
stream_seek
Parameters:
Parameter | Type | Description |
---|---|---|
$offset |
int | |
$whence |
int |
stream_tell
register
- This method is static.
stream_stat
url_stat
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$flags |
int |
createStreamContext
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$injectFaults |
array |
shouldFail
Parameters:
Parameter | Type | Description |
---|---|---|
$function |
string |
Automatically generated on 2025-03-18