You are here

protected function S3fsStream::_get_option in S3 File System 8.2

Get a specific stream context option.

Parameters

string $name: Name of the option to retrieve.

Return value

mixed|null

1 call to S3fsStream::_get_option()
S3fsStream::_trigger_error in src/StreamWrapper/S3fsStream.php
Triggers one or more errors.

File

src/StreamWrapper/S3fsStream.php, line 1373

Class

S3fsStream
Defines a Drupal s3fs (s3fs://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

protected function _get_option($name) {
  $options = $this
    ->_get_options();
  return isset($options[$name]) ? $options[$name] : NULL;
}