1 | <?php |
||
9 | class AdapterCollection extends \ArrayIterator |
||
10 | { |
||
11 | /** |
||
12 | * |
||
13 | * @param string $key |
||
14 | * @param Adapter $adapter |
||
15 | * @throws \Exception |
||
16 | */ |
||
17 | public function offsetSet($key, $adapter) |
||
25 | |||
26 | /** |
||
27 | * |
||
28 | * @param Asset $asset |
||
29 | */ |
||
30 | public function upload(Asset $asset) |
||
36 | |||
37 | /** |
||
38 | * |
||
39 | * @param Asset $asset |
||
40 | */ |
||
41 | public function update(Asset $asset) |
||
47 | |||
48 | /** |
||
49 | * |
||
50 | * @param Asset $asset |
||
51 | */ |
||
52 | public function remove(Asset $asset) |
||
58 | |||
59 | /** |
||
60 | * |
||
61 | * @param Owner $owner |
||
62 | * @param string $configurationPath |
||
63 | * @return AdapterCollection |
||
64 | * @throws \Exception |
||
65 | */ |
||
66 | public static function retrieveFromCache(Owner $owner, $configurationPath) |
||
80 | |||
81 | /** |
||
82 | * |
||
83 | * @param Asset $asset |
||
84 | * @param Owner $owner |
||
85 | * @param string $configurationPath |
||
86 | * @return AdapterCollection |
||
87 | * @throws \Exception |
||
88 | */ |
||
89 | public static function buildForAsset(Asset $asset, Owner $owner, $configurationPath) |
||
106 | } |
||
107 |