You are here

public static function HttpStreamWrapper::getType in Remote Stream Wrapper 8

Returns the type of stream wrapper.

Return value

int

Overrides StreamWrapperInterface::getType

1 call to HttpStreamWrapper::getType()
HttpStreamWrapperTest::testStreamConfiguration in tests/src/Unit/HttpStreamWrapperTest.php
Test that the wrapper constants.

File

src/StreamWrapper/HttpStreamWrapper.php, line 39

Class

HttpStreamWrapper
HTTP(s) stream wrapper.

Namespace

Drupal\remote_stream_wrapper\StreamWrapper

Code

public static function getType() {
  return StreamWrapperInterface::READ & StreamWrapperInterface::HIDDEN;
}