interface StreamWrapperInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface
  3. 10 core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface
  4. 11.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface

Generic PHP stream wrapper interface.

Hierarchy

Expanded class hierarchy of StreamWrapperInterface

All classes that implement StreamWrapperInterface

See also

http://www.php.net/manual/class.streamwrapper.php

File

includes/stream_wrappers.inc, line 98

View source
interface StreamWrapperInterface {
    public function stream_open($uri, $mode, $options, &$opened_url);
    public function stream_close();
    public function stream_lock($operation);
    public function stream_read($count);
    public function stream_write($data);
    public function stream_eof();
    public function stream_seek($offset, $whence);
    public function stream_flush();
    public function stream_tell();
    public function stream_stat();
    public function unlink($uri);
    public function rename($from_uri, $to_uri);
    public function mkdir($uri, $mode, $options);
    public function rmdir($uri, $options);
    public function url_stat($uri, $flags);
    public function dir_opendir($uri, $options);
    public function dir_readdir();
    public function dir_rewinddir();
    public function dir_closedir();

}

Members


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.