@@ 104-111 (lines=8) @@ | ||
101 | /** |
|
102 | * {@inheritdoc} |
|
103 | */ |
|
104 | public function read($key) |
|
105 | { |
|
106 | $this->isBucket(); |
|
107 | $object = $this->bucket->object($this->computePath($key)); |
|
108 | $info = $object->info(); |
|
109 | $this->setResources($key, $info); |
|
110 | return $object->downloadAsString(); |
|
111 | } |
|
112 | ||
113 | /** |
|
114 | * {@inheritdoc} |
|
@@ 201-208 (lines=8) @@ | ||
198 | /** |
|
199 | * {@inheritdoc} |
|
200 | */ |
|
201 | public function mtime($key) |
|
202 | { |
|
203 | $this->isBucket(); |
|
204 | $object = $object = $this->bucket->object($this->computePath($key)); |
|
205 | $info = $object->info(); |
|
206 | $this->setResources($key, $info); |
|
207 | return strtotime($info['updated']); |
|
208 | } |
|
209 | ||
210 | /** |
|
211 | * {@inheritdoc} |