function StreamWrapper::stream_stat in X Autoload 7.3
Return value
array Stat for the currently open stream.
Throws
\Exception
File
- tests/
Drupal/ xautoload/ Tests/ StreamWrapper.php, line 102
Class
- StreamWrapper
- Intercept calls to the filesystem, so we don't have to create fixture files.
Namespace
Drupal\xautoload\TestsCode
function stream_stat() {
if (!isset($this->path)) {
throw new \Exception("No file currently open.");
}
return self::$filesystem
->getStat($this->path);
}