Debian Codegraph @

lib/3rdParty/composer/aws/aws-sdk-php/src/S3/S3Transfer/Utils/AbstractDownloadHandler.php

raw symbols SCIP
1 <?php
2
3 namespace Aws\S3\S3Transfer\Utils;
4
5 use Aws\S3\S3Transfer\Progress\AbstractTransferListener;
6
7 abstract class AbstractDownloadHandler extends AbstractTransferListener
8 {
9 protected const READ_BUFFER_SIZE = 8192;
10
11 /**
12 * Returns the handler result.
13 * - For FileDownloadHandler it may return the file destination.
14 * - For StreamDownloadHandler it may return an instance of StreamInterface
15 * containing the content of the object.
16 *
17 * @return mixed
18 */
19 public abstract function getHandlerResult(): mixed;
20
21 /**
22 * To control whether the download handler supports
23 * concurrency.
24 *
25 * @return bool
26 */
27 public abstract function isConcurrencySupported(): bool;
28 }