public function mtime($key) { try { $result = $this->service->headObject($this->getOptions($key)); return strtotime($result['LastModified']); } catch (\Exception $e) { return false; } }