| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | protected function attributesMap() |
||
| 29 | { |
||
| 30 | return [ |
||
| 31 | 'id' => 'zr.obj_id', |
||
| 32 | 'name' => new Expression("pr.name || ',' || zr.name as name"), |
||
| 33 | // TODO: Drop ˯˯˯˯˯˯˯˯ this after removing models |
||
| 34 | new JoinedField('fullName', 'zh.name', $this->getModel()->getAttribute('fullName'), 'fullRef'), |
||
| 35 | ]; |
||
| 52 |