| 1 | <?php |
||
| 13 | class LogController extends Controller |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Gets a log file |
||
| 17 | * |
||
| 18 | * @param $id - the line of the cron in the cron table |
||
| 19 | * @param $type - the type of file, log or error |
||
| 20 | * |
||
| 21 | * @return Response |
||
| 22 | */ |
||
| 23 | public function fileAction($id, $type) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Adds a flash to the flash bag where flashes are array of messages |
||
| 38 | * |
||
| 39 | * @param $type |
||
| 40 | * @param $message |
||
| 41 | */ |
||
| 42 | protected function addFlash($type, $message) |
||
| 51 | } |
||
| 52 |