Returns whether or not the stream is readable.
bool
Example:
$resource = fopen(BOOTSTRAP_DIR . '/sample/shieldon_logo.png', 'r+'); $stream = new \Shieldon\Psr7\Stream($resource); if ($stream->isReadable()) { echo 'File is readable'; } // Outputs: File is readable
There was an error while loading. Please reload this page.