| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function before() |
||
| 23 | { |
||
| 24 | $this->_feedback = FeedbackPost::where('closed', false) |
||
| 25 | ->where('readed', false) |
||
| 26 | ->orderBy('id', 'DESC') |
||
| 27 | ->take(10) |
||
| 28 | ->get(); |
||
| 29 | |||
| 30 | $this->_comments = CommentPost::orderBy('id', 'DESC') |
||
| 31 | ->take(10) |
||
| 32 | ->get(); |
||
| 33 | |||
| 34 | parent::before(); |
||
| 35 | } |
||
| 54 | } |