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