You are here

private static property Stream::$readWriteHash in Lockr 7.3

@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,
    'rb+' => true,
  ],
  'write' => [
    'w' => true,
    'w+' => true,
    'rw' => true,
    'r+' => true,
    'x+' => true,
    'c+' => true,
    'wb' => true,
    'w+b' => true,
    'r+b' => true,
    'rb+' => true,
    'x+b' => true,
    'c+b' => true,
    'w+t' => true,
    'r+t' => true,
    'x+t' => true,
    'c+t' => true,
    'a' => true,
    'a+' => true,
  ],
];