Debian Codegraph @

lib/3rdParty/composer/aws/aws-sdk-php/src/S3/S3Transfer/Progress/TransferProgressBarFormat.php

raw symbols SCIP
1 <?php
2
3 namespace Aws\S3\S3Transfer\Progress;
4
5 final class TransferProgressBarFormat extends AbstractProgressBarFormat
6 {
7 public const FORMAT_TEMPLATE = "|object_name|:\n[|progress_bar|]"
8 ." |percent|% |transferred|/|to_be_transferred| |unit|";
9 public const FORMAT_PARAMETERS = [
10 'object_name',
11 'progress_bar',
12 'percent',
13 'transferred',
14 'to_be_transferred',
15 'unit'
16 ];
17
18 /**
19 * @inheritDoc
20 */
21 public function getFormatTemplate(): string
22 {
23 return self::FORMAT_TEMPLATE;
24 }
25
26 /**
27 * @inheritDoc
28 */
29 public function getFormatParameters(): array
30 {
31 return self::FORMAT_PARAMETERS;
32 }
33
34 protected function getFormatDefaultParameterValues(): array
35 {
36 return [];
37 }
38 }