| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function __construct(object $organization) |
||
| 28 | { |
||
| 29 | $this->id = $organization->id; |
||
| 30 | $this->uuid = $organization->uuid; |
||
| 31 | $this->name = $organization->name; |
||
| 32 | $this->owner = new MemberResponse($organization->owner); |
||
| 33 | $this->subscriptions_total = $organization->subscriptions_total; |
||
| 34 | $this->admins_total = $organization->admins_total; |
||
| 35 | $this->users_total = $organization->users_total; |
||
| 36 | $this->teams_total = $organization->teams_total; |
||
| 37 | $this->roles_total = $organization->roles_total; |
||
| 38 | $this->links = $organization->_links; |
||
| 39 | } |
||
| 41 |