| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function __construct( |
||
| 15 | private S3ClientInterface $client, |
||
| 16 | private array $config, |
||
| 17 | ) { |
||
| 18 | parent::__construct($client, $config['bucket']); |
||
| 19 | |||
| 20 | $pathPrefix = $this->config['public_path_prefix']; |
||
| 21 | if ($pathPrefix) { |
||
| 22 | $this->prefixer = new PathPrefixer($pathPrefix, '/'); |
||
| 23 | } else { |
||
| 24 | $this->prefixer = null; |
||
| 25 | } |
||
| 36 |