You are here

public function StreamWrapperConfiguration::getCacheLifetime in AmazonS3 7.2

Return value

int The cache expiration, in seconds. Zero means expiration is disabled.

File

src/StreamWrapperConfiguration.php, line 359

Class

StreamWrapperConfiguration
Class to manage S3 stream wrapper configuration.

Namespace

Drupal\amazons3

Code

public function getCacheLifetime() {
  return $this->data['expiration'];
}