Conditions | 2 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | protected function getAllowedFields($entityClass) |
||
26 | { |
||
27 | $me = $this; |
||
28 | |||
29 | return array_filter( |
||
30 | parent::getAllowedFields($entityClass), |
||
31 | function ($fieldName) use ($me) { |
||
32 | if (array_search($fieldName, $me->excludedFields) !== false) { |
||
33 | return false; |
||
34 | } |
||
35 | |||
36 | return true; |
||
37 | } |
||
38 | ); |
||
39 | } |
||
40 | |||
57 |