Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
74 | 4 | public function initialize() |
|
75 | { |
||
76 | 4 | $this->setSource('users_invite'); |
|
77 | |||
78 | 4 | $this->belongsTo( |
|
79 | 4 | 'companies_id', |
|
80 | 4 | 'Gewaer\Models\Companies', |
|
81 | 4 | 'id', |
|
82 | 4 | ['alias' => 'company'] |
|
83 | ); |
||
84 | |||
85 | 4 | $this->belongsTo( |
|
86 | 4 | 'apps_id', |
|
87 | 4 | 'Gewaer\Models\Apps', |
|
88 | 4 | 'id', |
|
89 | 4 | ['alias' => 'app'] |
|
90 | ); |
||
114 |