public function StreamWrapper::stream_stat in Auth0 Single Sign On 8.2
File
- vendor/
guzzlehttp/ psr7/ src/ StreamWrapper.php, line 116
Class
- StreamWrapper
- Converts Guzzle streams into PHP stream resources.
Namespace
GuzzleHttp\Psr7Code
public function stream_stat() {
static $modeMap = [
'r' => 33060,
'rb' => 33060,
'r+' => 33206,
'w' => 33188,
'wb' => 33188,
];
return [
'dev' => 0,
'ino' => 0,
'mode' => $modeMap[$this->mode],
'nlink' => 0,
'uid' => 0,
'gid' => 0,
'rdev' => 0,
'size' => $this->stream
->getSize() ?: 0,
'atime' => 0,
'mtime' => 0,
'ctime' => 0,
'blksize' => 0,
'blocks' => 0,
];
}