public function Stream::isLocal

Check if the stream is a local stream vs a remote stream

Return value

bool

Overrides StreamInterface::isLocal

2 calls to Stream::isLocal()
EntityBody::getContentType in drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php
Guess the Content-Type or return the default application/octet-stream
Stream::getSize in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Get the size of the stream if able

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php, line 234

Class

Stream
PHP stream implementation

Namespace

Guzzle\Stream

Code

public function isLocal() {
  return $this->cache[self::IS_LOCAL];
}