public function __construct(S3 $s3, S3QueryClient $client) { $this->s3 = $s3; $this->client = $client; $this->versiondate = preg_replace('#^.+V(\\d{4})(\\d{2})(\\d{2})$#', '\\1-\\2-\\3', __NAMESPACE__); }