PluginProbe
Media Cloud Sync / 1.1.1
Media Cloud Sync v1.1.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
media-cloud-sync / includes / sdk / s3 / Aws / Crypto / MetadataStrategyInterface.php

MetadataStrategyInterface.php in Media Cloud Sync 1.1.1, at includes/sdk/s3/Aws/Crypto/MetadataStrategyInterface.php

31 lines 1015 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Dudlewebs\WPMCS\s3\Aws\Crypto;
4
5 interface MetadataStrategyInterface
6 {
7 /**
8 * Places the information in the MetadataEnvelope to the strategy specific
9 * location. Populates the PutObject arguments with any information
10 * necessary for loading.
11 *
12 * @param MetadataEnvelope $envelope Encryption data to save according to
13 * the strategy.
14 * @param array $args Starting arguments for PutObject.
15 *
16 * @return array Updated arguments for PutObject.
17 */
18 public function save(MetadataEnvelope $envelope, array $args);
19 /**
20 * Generates a MetadataEnvelope according to the specific strategy using the
21 * passed arguments.
22 *
23 * @param array $args Arguments from Command and Result that contains
24 * S3 Object information, relevant headers, and command
25 * configuration.
26 *
27 * @return MetadataEnvelope
28 */
29 public function load(array $args);
30 }
31