| Total Complexity | 4 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | trait Cacheable |
||
| 15 | { |
||
| 16 | public static function find($id, $columns = ['*']) |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function findWithoutCache($id, $columns = ['*']) |
||
| 23 | { |
||
| 24 | return get_parent_class(self::class)::find($id, $columns); |
||
| 25 | } |
||
| 26 | |||
| 27 | private static function filterFromColumns($model, $columns) |
||
| 33 | } |
||
| 34 | } |
||
| 35 |