| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function __construct(BlobRestProxy $client, string $container, string $url = null, $prefix = null) |
||
| 39 | { |
||
| 40 | parent::__construct($client, $container, $prefix); |
||
| 41 | |||
| 42 | $this->client = $client; |
||
| 43 | $this->container = $container; |
||
| 44 | $this->setPathPrefix($prefix); |
||
| 45 | |||
| 46 | if ($url && !filter_var($url, FILTER_VALIDATE_URL)) { |
||
| 47 | throw new \Exception('Invalid Url'); |
||
| 48 | } |
||
| 49 | $this->url = $url; |
||
| 50 | } |
||
| 51 | |||
| 60 |