You are here

trait LocalHiddenStreamTrait in Libraries API 8.3

Provides a trait for local hidden streams.

Hierarchy

1 file declares its use of LocalHiddenStreamTrait
TestLibraryFilesStream.php in tests/src/Kernel/ExternalLibrary/TestLibraryFilesStream.php

File

src/StreamWrapper/LocalHiddenStreamTrait.php, line 10

Namespace

Drupal\libraries\StreamWrapper
View source
trait LocalHiddenStreamTrait {

  /**
   * Returns the type of stream wrapper.
   *
   * @return int
   *
   * @see \Drupal\Core\StreamWrapper\StreamWrapperInterface::getType()
   */
  public static function getType() {
    return StreamWrapperInterface::LOCAL_HIDDEN;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LocalHiddenStreamTrait::getType public static function Returns the type of stream wrapper.