| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function __construct(object $backup) |
||
| 24 | { |
||
| 25 | $this->id = $backup->id; |
||
| 26 | $this->database = $backup->database; |
||
| 27 | $this->type = $backup->type; |
||
| 28 | $this->startedAt = $backup->started_at; |
||
| 29 | $this->completedAt = $backup->completed_at; |
||
| 30 | $this->flags = $backup->flags; |
||
| 31 | $this->environment = $backup->environment; |
||
| 32 | $this->links = $backup->_links; |
||
| 33 | } |
||
| 35 |