public static function PublicStream::getType

public static PublicStream::getType()

Returns the type of stream wrapper.

Return value

int

Overrides LocalStream::getType

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!PublicStream.php/function/PublicStream::getType/8.1.x