public function stream_stat(): array
    {
        $fileStat = [
            '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);
    }
public function stream_stat(): array
    {
        $fileStat = [
            '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);
    }
public function stream_stat ( ) : array { $ fileStat = [ '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 ) ; }
returns status of stream

@return  array
returns status of stream