Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
55 | public function initialize() |
||
56 | { |
||
57 | $this->setSource('companies_custom_fields'); |
||
58 | |||
59 | $this->belongsTo( |
||
60 | 'companies_id', |
||
61 | 'Gewaer\Models\Companies', |
||
62 | 'id', |
||
63 | ['alias' => 'company'] |
||
64 | ); |
||
65 | |||
66 | $this->belongsTo( |
||
67 | 'custom_fields_id', |
||
68 | 'Gewaer\CustomFields\CustomFields', |
||
69 | 'id', |
||
70 | ['alias' => 'fields'] |
||
71 | ); |
||
94 |