org\bovigo\vfs\vfsStreamWrapper::stream_set_option PHP Méthode

stream_set_option() public méthode

sets options on the stream
See also: https://github.com/mikey179/vfsStream/issues/15
See also: http://www.php.net/manual/streamwrapper.stream-set-option.php
Since: 0.10.0
public stream_set_option ( integer $option, integer $arg1, integer $arg2 ) : boolean
$option integer key of option to set
$arg1 integer
$arg2 integer
Résultat boolean
    public function stream_set_option($option, $arg1, $arg2)
    {
        switch ($option) {
            case STREAM_OPTION_BLOCKING:
                // break omitted
            // break omitted
            case STREAM_OPTION_READ_TIMEOUT:
                // break omitted
            // break omitted
            case STREAM_OPTION_WRITE_BUFFER:
                // break omitted
            // break omitted
            default:
                // nothing to do here
        }
        return false;
    }