You are here

private static property Stream::$readWriteHash in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream::readWriteHash

@var array Hash of readable and writable stream types

File

vendor/guzzlehttp/psr7/src/Stream.php, line 22

Class

Stream
PHP stream implementation.

Namespace

GuzzleHttp\Psr7

Code

private static $readWriteHash = [
  'read' => [
    'r' => true,
    'w+' => true,
    'r+' => true,
    'x+' => true,
    'c+' => true,
    'rb' => true,
    'w+b' => true,
    'r+b' => true,
    'x+b' => true,
    'c+b' => true,
    'rt' => true,
    'w+t' => true,
    'r+t' => true,
    'x+t' => true,
    'c+t' => true,
    'a+' => true,
  ],
  'write' => [
    'w' => true,
    'w+' => true,
    'rw' => true,
    'r+' => true,
    'x+' => true,
    'c+' => true,
    'wb' => true,
    'w+b' => true,
    'r+b' => true,
    'x+b' => true,
    'c+b' => true,
    'w+t' => true,
    'r+t' => true,
    'x+t' => true,
    'c+t' => true,
    'a' => true,
    'a+' => true,
  ],
];