| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 41 | 3 | public function __construct(BlobRestProxy $client, string $containerName, Blob $blob) |
|
| 42 | { |
||
| 43 | 3 | $this->client = $client; |
|
| 44 | 3 | $this->containerName = $containerName; |
|
| 45 | 3 | $this->filename = basename($blob->getName()); |
|
| 46 | 3 | $this->pathname = $blob->getName(); |
|
| 47 | 3 | $props = $blob->getProperties(); |
|
| 48 | 3 | $this->size = $props->getContentLength(); |
|
| 49 | 3 | $this->lastModified = $props->getLastModified()->getTimestamp(); |
|
| 50 | 3 | } |
|
| 66 |