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

Breadcrumb

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

function SeekableFileContent::doWrite

actual writing of data with specified length at given offset

Parameters

string $data:

int $offset:

int $length:

1 call to SeekableFileContent::doWrite()
SeekableFileContent::write in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php
writes an amount of data
2 methods override SeekableFileContent::doWrite()
LargeFileContent::doWrite in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/LargeFileContent.php
actual writing of data with specified length at given offset
StringBasedFileContent::doWrite in vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/StringBasedFileContent.php
actual writing of data with specified length at given offset

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/SeekableFileContent.php, line 111

Class

SeekableFileContent
Default implementation for file contents based on simple strings.

Namespace

org\bovigo\vfs\content

Code

protected abstract function doWrite($data, $offset, $length);

API Navigation

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