You are here

interface RemoteStreamWrapperInterface in Remote Stream Wrapper 8

Hierarchy

Expanded class hierarchy of RemoteStreamWrapperInterface

All classes that implement RemoteStreamWrapperInterface

File

src/StreamWrapper/RemoteStreamWrapperInterface.php, line 7

Namespace

Drupal\remote_stream_wrapper\StreamWrapper
View source
interface RemoteStreamWrapperInterface extends StreamWrapperInterface {

  /**
   * Refers to a remote file system location.
   *
   * @todo Investigate if we can rely on using this bit.
   */
  const REMOTE = 0x2;

  /**
   * Visible and readable using remote files.
   */
  const REMOTE_NORMAL = 0x16;

  /**
   * Perform an HTTP request for the current URI.
   *
   * @param string $method
   *   The HTTP method.
   *
   * @return \Psr\Http\Message\ResponseInterface
   *   The HTTP response object.
   *
   * @throws \GuzzleHttp\Exception\GuzzleException
   */
  public function request($method = 'GET');

}

Members

Namesort descending Modifiers Type Description Overrides
PhpStreamWrapperInterface::dir_closedir public function 1
PhpStreamWrapperInterface::dir_opendir public function 1
PhpStreamWrapperInterface::dir_readdir public function 1
PhpStreamWrapperInterface::dir_rewinddir public function 1
PhpStreamWrapperInterface::mkdir public function 2
PhpStreamWrapperInterface::rename public function 2
PhpStreamWrapperInterface::rmdir public function 2
PhpStreamWrapperInterface::stream_cast public function Retrieve the underlying stream resource. 1
PhpStreamWrapperInterface::stream_close public function Closes stream. 1
PhpStreamWrapperInterface::stream_eof public function 1
PhpStreamWrapperInterface::stream_flush public function 2
PhpStreamWrapperInterface::stream_lock public function 2
PhpStreamWrapperInterface::stream_metadata public function Sets metadata on the stream. 2
PhpStreamWrapperInterface::stream_open public function 2
PhpStreamWrapperInterface::stream_read public function 1
PhpStreamWrapperInterface::stream_seek public function Seeks to specific location in a stream. 1
PhpStreamWrapperInterface::stream_set_option public function Change stream options. 1
PhpStreamWrapperInterface::stream_stat public function 1
PhpStreamWrapperInterface::stream_tell public function 1
PhpStreamWrapperInterface::stream_truncate public function Truncate stream. 2
PhpStreamWrapperInterface::stream_write public function 2
PhpStreamWrapperInterface::unlink public function 2
PhpStreamWrapperInterface::url_stat public function 1
RemoteStreamWrapperInterface::REMOTE constant Refers to a remote file system location.
RemoteStreamWrapperInterface::REMOTE_NORMAL constant Visible and readable using remote files.
RemoteStreamWrapperInterface::request public function Perform an HTTP request for the current URI. 1
StreamWrapperInterface::ALL constant A filter that matches all wrappers.
StreamWrapperInterface::dirname public function Gets the name of the directory from a given path. 1
StreamWrapperInterface::getDescription public function Returns the description of the stream wrapper for use in the UI. 6
StreamWrapperInterface::getExternalUrl public function Returns a web accessible URL for the resource. 6
StreamWrapperInterface::getName public function Returns the name of the stream wrapper for use in the UI. 6
StreamWrapperInterface::getType public static function Returns the type of stream wrapper. 1
StreamWrapperInterface::getUri public function Returns the stream resource URI. 2
StreamWrapperInterface::HIDDEN constant Defines the stream wrapper bit flag for a hidden file.
StreamWrapperInterface::LOCAL constant Refers to a local file system location.
StreamWrapperInterface::LOCAL_HIDDEN constant Hidden, readable and writable using local files.
StreamWrapperInterface::LOCAL_NORMAL constant Visible, readable and writable using local files.
StreamWrapperInterface::NORMAL constant This is the default 'type' flag. This does not include StreamWrapperInterface::LOCAL, because PHP grants a greater trust level to local files (for example, they can be used in an "include" statement, regardless of the…
StreamWrapperInterface::READ constant Wrapper is readable (almost always true).
StreamWrapperInterface::READ_VISIBLE constant Visible and read-only.
StreamWrapperInterface::realpath public function Returns canonical, absolute path of the resource. 1
StreamWrapperInterface::setUri public function Sets the absolute stream resource URI. 2
StreamWrapperInterface::VISIBLE constant Exposed in the UI and potentially web accessible.
StreamWrapperInterface::WRITE constant Wrapper is writable.
StreamWrapperInterface::WRITE_VISIBLE constant Visible, readable and writable.