org\bovigo\vfs\vfsStreamWrapper::stream_stat PHP Method

stream_stat() public method

returns status of stream
public stream_stat ( ) : array
return array
    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);
    }