| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function __construct(object $subscription) |
||
| 30 | { |
||
| 31 | $this->id = $subscription->id; |
||
| 32 | $this->uuid = $subscription->uuid; |
||
| 33 | $this->name = $subscription->name; |
||
| 34 | $this->start_at = $subscription->start_at; |
||
| 35 | $this->expire_at = $subscription->expire_at; |
||
| 36 | $this->product = $subscription->product; |
||
| 37 | $this->applications_total = $subscription->applications_total; |
||
| 38 | $this->applications_used = $subscription->applications_used; |
||
| 39 | $this->organization = $subscription->organization; |
||
| 40 | $this->flags = $subscription->flags; |
||
| 41 | $this->links = $subscription->_links; |
||
| 42 | } |
||
| 44 |