Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
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 | } |
|
51 | |||
66 |