Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
47 | public function initialize() |
||
48 | { |
||
49 | $this->belongsTo( |
||
50 | 'companies_id', |
||
51 | 'Gewaer\Models\Companies', |
||
52 | 'id', |
||
53 | ['alias' => 'company'] |
||
54 | ); |
||
55 | |||
56 | $this->belongsTo( |
||
57 | 'apps_id', |
||
58 | 'Gewaer\Models\Apps', |
||
59 | 'id', |
||
60 | ['alias' => 'app'] |
||
61 | ); |
||
62 | |||
63 | $this->setSource('users_associated_apps'); |
||
64 | } |
||
76 |