Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function __construct(object $codebase) |
||
37 | { |
||
38 | $this->id = $codebase->id; |
||
39 | $this->label = $codebase->label; |
||
40 | $this->region = $codebase->region; |
||
41 | $this->vcs_url = $codebase->vcs_url; |
||
42 | $this->repository_id = $codebase->repository_id; |
||
43 | $this->created_at = $codebase->created_at; |
||
44 | $this->updated_at = $codebase->updated_at; |
||
45 | $this->description = $codebase->description; |
||
46 | $this->flags = $codebase->flags; |
||
47 | $this->hash = $codebase->hash; |
||
48 | $this->applications_total = $codebase->applications_total; |
||
49 | $this->links = $codebase->_links; |
||
50 | $this->embedded = $codebase->_embedded ?? null; |
||
51 | } |
||
53 |