public function vfsStreamWrapper::stream_stat in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamWrapper.php \org\bovigo\vfs\vfsStreamWrapper::stream_stat()
returns status of stream
Return value
array
1 call to vfsStreamWrapper::stream_stat()
- vfsStreamWrapperRecordingProxy::stream_stat in vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ proxy/ vfsStreamWrapperRecordingProxy.php - returns status of stream
1 method overrides vfsStreamWrapper::stream_stat()
- vfsStreamWrapperRecordingProxy::stream_stat in vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ proxy/ vfsStreamWrapperRecordingProxy.php - returns status of stream
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamWrapper.php, line 647
Class
- vfsStreamWrapper
- Stream wrapper to mock file system requests.
Namespace
org\bovigo\vfsCode
public function stream_stat() {
$fileStat = array(
'dev' => 0,
'ino' => 0,
'mode' => $this->content
->getType() | $this->content
->getPermissions(),
'nlink' => 0,
'uid' => $this->content
->getUser(),
'gid' => $this->content
->getGroup(),
'rdev' => 0,
'size' => $this->content
->size(),
'atime' => $this->content
->fileatime(),
'mtime' => $this->content
->filemtime(),
'ctime' => $this->content
->filectime(),
'blksize' => -1,
'blocks' => -1,
);
return array_merge(array_values($fileStat), $fileStat);
}