Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. vfsStreamWrapper.php

function vfsStreamWrapper::stream_set_option

sets options on the stream

@since 0.10.0

Parameters

int $option key of option to set:

int $arg1:

int $arg2:

Return value

bool

See also

https://github.com/mikey179/vfsStream/issues/15

http://www.php.net/manual/streamwrapper.stream-set-option.php

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php, line 718

Class

vfsStreamWrapper
Stream wrapper to mock file system requests.

Namespace

org\bovigo\vfs

Code

public function stream_set_option($option, $arg1, $arg2) {
    switch ($option) {
        case STREAM_OPTION_BLOCKING:
        // break omitted
        case STREAM_OPTION_READ_TIMEOUT:
        // break omitted
        case STREAM_OPTION_WRITE_BUFFER:
        // break omitted
        default:
    }
    return false;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal