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