You are here

public static function StreamWrapper::register in AmazonS3 7.2

Override register() to force using hook_stream_wrappers().

Parameters

\Aws\S3\S3Client $client:

File

src/StreamWrapper.php, line 349
Drupal stream wrapper implementation for Amazon S3

Class

StreamWrapper
@file Drupal stream wrapper implementation for Amazon S3

Namespace

Drupal\amazons3

Code

public static function register(AwsS3Client $client) {
  throw new \LogicException('Drupal handles registration of stream wrappers. Implement hook_stream_wrappers() instead.');
}