| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function __construct(object $invitation) |
||
| 33 | { |
||
| 34 | $this->uuid = $invitation->uuid; |
||
| 35 | $this->email = $invitation->email; |
||
| 36 | $this->author = new MemberResponse($invitation->author); |
||
| 37 | $this->applications = $invitation->applications; |
||
| 38 | $this->organization = $invitation->organization; |
||
| 39 | $this->roles = $invitation->roles; |
||
| 40 | $this->team = new TeamResponse($invitation->team); |
||
| 41 | $this->created_at = $invitation->created_at; |
||
| 42 | $this->token = $invitation->token; |
||
| 43 | $this->flags = $invitation->flags; |
||
| 44 | $this->links = $invitation->_links; |
||
| 45 | } |
||
| 47 |