function PublicStream::getType

Overrides LocalStream::getType

1 method overrides PublicStream::getType()
DummyRemoteReadOnlyStreamWrapper::getType in core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php
Returns the type of stream wrapper.

File

core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 21

Class

PublicStream
Defines a Drupal public (public://) stream wrapper class.

Namespace

Drupal\Core\StreamWrapper

Code

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

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