@@ -137,7 +137,7 @@ |
||
| 137 | 137 | /** |
| 138 | 138 | * @param string $key - by default '' |
| 139 | 139 | * @param integer $format - by default APC_ITER_NONE |
| 140 | - * @return \APCIterator |
|
| 140 | + * @return \Traversable |
|
| 141 | 141 | * |
| 142 | 142 | */ |
| 143 | 143 | protected function getCachedKeysIterator($key = '', $format = APC_ITER_NONE) |
@@ -272,6 +272,9 @@ discard block |
||
| 272 | 272 | return true; |
| 273 | 273 | } |
| 274 | 274 | |
| 275 | + /** |
|
| 276 | + * @param string $key |
|
| 277 | + */ |
|
| 275 | 278 | protected function getOptions($key, array $options = array()) |
| 276 | 279 | { |
| 277 | 280 | $options['ACL'] = $this->options['acl']; |
@@ -287,6 +290,9 @@ discard block |
||
| 287 | 290 | return $options; |
| 288 | 291 | } |
| 289 | 292 | |
| 293 | + /** |
|
| 294 | + * @return string |
|
| 295 | + */ |
|
| 290 | 296 | protected function computePath($key) |
| 291 | 297 | { |
| 292 | 298 | if (empty($this->options['directory'])) { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Gaufrette\Adapter; |
| 6 | 6 | use Gaufrette\Util; |
| 7 | 7 | use Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface; |
| 8 | - |
|
| 9 | 8 | use WindowsAzure\Blob\Models\CreateBlobOptions; |
| 10 | 9 | use WindowsAzure\Blob\Models\CreateContainerOptions; |
| 11 | 10 | use WindowsAzure\Blob\Models\DeleteContainerOptions; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Gaufrette\Adapter; |
| 4 | 4 | |
| 5 | -use Gaufrette\File; |
|
| 6 | 5 | use Gaufrette\Adapter; |
| 7 | 6 | use Gaufrette\Adapter\InMemory as InMemoryAdapter; |
| 8 | 7 | |
@@ -152,6 +152,10 @@ |
||
| 152 | 152 | return false; |
| 153 | 153 | } |
| 154 | 154 | |
| 155 | + /** |
|
| 156 | + * @param string $key |
|
| 157 | + * @param string $column |
|
| 158 | + */ |
|
| 155 | 159 | private function getColumnValue($key, $column) |
| 156 | 160 | { |
| 157 | 161 | $value = $this->connection->fetchColumn( |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Gaufrette\Adapter; |
| 6 | 6 | use Gaufrette\Util; |
| 7 | - |
|
| 8 | 7 | use Doctrine\DBAL\Connection; |
| 9 | 8 | |
| 10 | 9 | /** |
@@ -162,6 +162,9 @@ |
||
| 162 | 162 | } |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | + /** |
|
| 166 | + * @param string $key |
|
| 167 | + */ |
|
| 165 | 168 | private function getDropboxMetadata($key) |
| 166 | 169 | { |
| 167 | 170 | try { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Gaufrette\Adapter; |
| 6 | 6 | use Gaufrette\File; |
| 7 | 7 | use Gaufrette\Filesystem; |
| 8 | -use Gaufrette\Exception; |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Ftp adapter |
@@ -349,6 +349,9 @@ |
||
| 349 | 349 | } |
| 350 | 350 | } |
| 351 | 351 | |
| 352 | + /** |
|
| 353 | + * @param string $key |
|
| 354 | + */ |
|
| 352 | 355 | protected function computePath($key) |
| 353 | 356 | { |
| 354 | 357 | if (empty($this->options['directory'])) { |
@@ -145,6 +145,9 @@ |
||
| 145 | 145 | return isset($this->metadata[$key]) ? $this->metadata[$key] : array(); |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $key |
|
| 150 | + */ |
|
| 148 | 151 | private function find($key, array $fields = array()) |
| 149 | 152 | { |
| 150 | 153 | return $this->gridFS->findOne($key, $fields); |