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

Breadcrumb

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

function FileContent::size

returns size of content

Return value

int

2 calls to FileContent::size()
SeekableFileContent::eof in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php
checks whether pointer is at end of file
SeekableFileContent::seek in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php
seeks to the given offset
2 methods override FileContent::size()
LargeFileContent::size in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/LargeFileContent.php
returns size of content
StringBasedFileContent::size in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/StringBasedFileContent.php
returns size of content

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/FileContent.php, line 30

Class

FileContent
Interface for actual file contents.

Namespace

org\bovigo\vfs\content

Code

public function size();

API Navigation

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