| Total Complexity | 1 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 5 | class DropboxUploadCounter | ||
| 6 | { | ||
| 7 | /** | ||
| 8 | * The upload session ID (returned by upload_session/start). | ||
| 9 | * | ||
| 10 | * @var string | ||
| 11 | */ | ||
| 12 | public $session_id; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or duplicated in the event of a network error. | ||
| 16 | * | ||
| 17 | * @var int | ||
| 18 | */ | ||
| 19 | public $offset; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @param string $session_id | ||
| 23 | * @param int $offset | ||
| 24 | */ | ||
| 25 | 6 | public function __construct($session_id, $offset = 0) | |
| 31 |