You are here

public static function FlysystemBridge::getType in Flysystem 8

Same name and namespace in other branches
  1. 3.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getType()
  2. 2.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getType()
  3. 3.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::getType()

Returns the type of stream wrapper.

Return value

int

Overrides StreamWrapperInterface::getType

1 call to FlysystemBridge::getType()
FlysystemBridgeTest::testGetTypeReturnsWriteVisible in tests/src/Unit/FlysystemBridgeTest.php
@covers ::getType

File

src/FlysystemBridge.php, line 20

Class

FlysystemBridge
An adapter for Flysystem to StreamWrapperInterface.

Namespace

Drupal\flysystem

Code

public static function getType() {
  return StreamWrapperInterface::WRITE_VISIBLE;
}