You are here

public static function S3fsStreamWrapper::register in S3 File System 7.3

Ensure the S3 protocol is registered to this class and not parents.

Parameters

\Aws\S3\S3ClientInterface $client:

string $protocol:

\Aws\CacheInterface|null $cache:

1 call to S3fsStreamWrapper::register()
S3fsStreamWrapper::__construct in ./S3fsStreamWrapper.inc
Stream wrapper constructor.

File

./S3fsStreamWrapper.inc, line 254
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

public static function register(S3ClientInterface $client, $protocol = 's3', CacheInterface $cache = null) {
  parent::register($client, $protocol, $cache);
}