@@ -157,6 +157,9 @@ |
||
| 157 | 157 | } |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | + /** |
|
| 161 | + * @param string $relativePath |
|
| 162 | + */ |
|
| 160 | 163 | protected function getAbsolutePath($relativePath): string |
| 161 | 164 | { |
| 162 | 165 | return $this->remotePath . ltrim($relativePath, DIRECTORY_SEPARATOR); |
@@ -319,6 +319,9 @@ discard block |
||
| 319 | 319 | return $operationCollection; |
| 320 | 320 | } |
| 321 | 321 | |
| 322 | + /** |
|
| 323 | + * @param resource $stream |
|
| 324 | + */ |
|
| 322 | 325 | protected function readIndexFromStream($stream, \DateTime $created = null): Index |
| 323 | 326 | { |
| 324 | 327 | $index = new Index($created); |
@@ -331,6 +334,9 @@ discard block |
||
| 331 | 334 | return $index; |
| 332 | 335 | } |
| 333 | 336 | |
| 337 | + /** |
|
| 338 | + * @param resource $stream |
|
| 339 | + */ |
|
| 334 | 340 | protected function writeIndexToStream(Index $index, $stream) |
| 335 | 341 | { |
| 336 | 342 | foreach ($index as $object) |