class StreamWrapper in AmazonS3 7.2
Same name in this branch
- 7.2 src/StreamWrapper.php \Drupal\amazons3\StreamWrapper
- 7.2 tests/Stub/StreamWrapper.php \Drupal\amazons3Test\Stub\StreamWrapper
Stub common and mimetype functions.
@class StreamWrapper @package Drupal\amazons3Test\Stub
Hierarchy
- class \Drupal\amazons3\StreamWrapper extends \Aws\S3\StreamWrapper implements \Drupal\amazons3\DrupalStreamWrapperInterface uses \DrupalAdapter\Common, \DrupalAdapter\FileMimetypes
- class \Drupal\amazons3Test\Stub\StreamWrapper uses Common, FileMimetypes
Expanded class hierarchy of StreamWrapper
1 file declares its use of StreamWrapper
File
- tests/
Stub/ StreamWrapper.php, line 14
Namespace
Drupal\amazons3Test\StubView source
class StreamWrapper extends \Drupal\amazons3\StreamWrapper {
use Common;
use FileMimetypes;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Common:: |
public static | function | ||
Common:: |
public static | function | ||
FileMimetypes:: |
public static | function | Default MIME extension mapping. | |
FileMimetypes:: |
public static | function | ||
StreamWrapper:: |
protected | property | Configuration for this stream wrapper. | |
StreamWrapper:: |
protected static | property | Default configuration used when constructing a new stream wrapper. | |
StreamWrapper:: |
protected static | property | The name of the S3Client class to use. | |
StreamWrapper:: |
protected | property | The URL associated with the S3 object. | |
StreamWrapper:: |
protected | property | Instance URI referenced as "s3://bucket/key" | |
StreamWrapper:: |
public | function | @codeCoverageIgnore | |
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
protected | function | Find if this URI should force a download. | |
StreamWrapper:: |
public | function | Return the basename for this URI. | |
StreamWrapper:: |
public static | function | Get the client associated with this stream wrapper. | |
StreamWrapper:: |
protected | function | Get a CloudFront URL for an S3 key. | |
StreamWrapper:: |
protected | function | Return a string to use as a Content-Disposition header. | |
StreamWrapper:: |
public static | function | Return the default configuration. | |
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
protected | function | Return the local filesystem path. | |
StreamWrapper:: |
public static | function | ||
StreamWrapper:: |
public | function | Override getOptions() to default all files to be publicly readable. | |
StreamWrapper:: |
protected | function | Get a regular S3 URL for a key. | |
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
protected | function | Replace the host in a URL with the configured domain. | |
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
public | function | @codeCoverageIgnore | |
StreamWrapper:: |
public static | function | Override register() to force using hook_stream_wrappers(). | |
StreamWrapper:: |
public | function | Override rename() to handle setting the URI on move. | |
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
constant | The base domain of S3. | ||
StreamWrapper:: |
public static | function | Set the client associated with this stream wrapper. | |
StreamWrapper:: |
public static | function | Set default configuration to use when constructing a new stream wrapper. | |
StreamWrapper:: |
public static | function | Set the name of the S3Client class to use. | |
StreamWrapper:: |
function | |||
StreamWrapper:: |
public | function | Support for flock(). | |
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
constant | The path to the image style generation callback. | ||
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
public | function | ||
StreamWrapper:: |
protected | function | Find if the URL should be presigned. | |
StreamWrapper:: |
protected | function | Find if the URL should be saved to Reduced Redundancy Storage. | |
StreamWrapper:: |
protected | function | Find if the URL should be returned as a torrent. | |
StreamWrapper:: |
public | function | Construct a new stream wrapper. |