Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Stream.php

class Stream

Same name in this branch
  1. 11.1.x vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream

A PHP stream of unknown size.

@author Nicolas Grekas <p@tchwork.com>

Hierarchy

  • class \Symfony\Component\HttpFoundation\File\File extends \Symfony\Component\HttpFoundation\File\SplFileInfo
    • class \Symfony\Component\HttpFoundation\File\Stream extends \Symfony\Component\HttpFoundation\File\File

Expanded class hierarchy of Stream

8 string references to 'Stream'
CliDumper::hasColorSupport in vendor/symfony/var-dumper/Dumper/CliDumper.php
Returns true if the stream supports colorization.
Perforce::isStream in vendor/composer/composer/src/Composer/Util/Perforce.php
Perforce::setStream in vendor/composer/composer/src/Composer/Util/Perforce.php
StreamDecoratorTrait::__get in vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php
Magic method used to create a new stream if streams are not added in the constructor of a decorator (e.g., LazyOpenStream).
StreamOutput::__construct in vendor/symfony/console/Output/StreamOutput.php

... See full list

File

vendor/symfony/http-foundation/File/Stream.php, line 19

Namespace

Symfony\Component\HttpFoundation\File
View source
class Stream extends File {
    public function getSize() : int|false {
        return false;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
File::getContent public function
File::getMimeType public function Returns the mime type of the file.
File::getName protected function Returns locale independent base name of the given path.
File::getTargetFile protected function
File::guessExtension public function Returns the extension based on the mime type.
File::move public function Moves the file to a new location. 1
File::__construct public function Constructs a new file from the given path. 1
Stream::getSize public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal