Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | public function resolve(string $file, mixed $expiration = null): UriInterface |
||
30 | { |
||
31 | $command = $this->createCommand($this->concat($file, $this->prefix)); |
||
32 | |||
33 | $request = $this->client->createPresignedRequest( |
||
34 | $command, |
||
35 | $this->getExpirationDateTime($expiration), |
||
36 | ); |
||
37 | |||
38 | return $request->getUri(); |
||
39 | } |
||
49 |