Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 2 | public function __construct(DropboxApi $client, FileMetadata $dropboxFile) |
|
34 | { |
||
35 | 2 | $this->client = $client; |
|
36 | 2 | $this->filename = $dropboxFile->getName(); |
|
37 | 2 | $this->pathname = $dropboxFile->getPathDisplay(); |
|
38 | 2 | $this->size = $dropboxFile->getSize(); |
|
39 | 2 | $this->lastModified = strtotime($dropboxFile->getClientModified()); |
|
40 | 2 | } |
|
41 | |||
56 |