You are here

public function ReadOnlyPhpStreamWrapperTrait::stream_truncate in Remote Stream Wrapper 8

File

src/StreamWrapper/ReadOnlyPhpStreamWrapperTrait.php, line 111

Class

ReadOnlyPhpStreamWrapperTrait
Trait that contains all unimplemented methods.

Namespace

Drupal\remote_stream_wrapper\StreamWrapper

Code

public function stream_truncate($new_size) {
  trigger_error('stream_truncate() not supported for HTTP stream wrappers', E_USER_WARNING);
  return FALSE;
}