Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
77 | public function initialize() |
||
78 | { |
||
79 | $this->belongsTo( |
||
80 | 'companies_id', |
||
81 | 'Gewaer\Models\Companies', |
||
82 | 'id', |
||
83 | ['alias' => 'company'] |
||
84 | ); |
||
85 | |||
86 | $this->belongsTo( |
||
87 | 'apps_id', |
||
88 | 'Gewaer\Models\Apps', |
||
89 | 'id', |
||
90 | ['alias' => 'app'] |
||
91 | ); |
||
92 | |||
93 | $this->belongsTo( |
||
94 | 'users_id', |
||
95 | 'Gewaer\Models\Users', |
||
96 | 'id', |
||
97 | ['alias' => 'user'] |
||
98 | ); |
||
99 | |||
100 | $this->setSource('email_templates'); |
||
101 | } |
||
132 |