for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanedev\LogViewer\Http\Controllers;
use Illuminate\Routing\Controller as IlluminateController;
/**
* Class Controller
*
* @package Arcanedev\LogViewer\Bases
* @author ARCANEDEV <[email protected]>
*/
abstract class Controller extends IlluminateController
{
/* ------------------------------------------------------------------------------------------------
| Properties
| ------------------------------------------------------------------------------------------------
* The log viewer instance
* @var \Arcanedev\LogViewer\Contracts\LogViewer
protected $logViewer;
| Constructor
public function __construct()
$this->logViewer = app('arcanedev.log-viewer');
}
| Main Functions
* Get the evaluated view contents for the given view.
* @param string $view
* @param array $data
* @param array $mergeData
* @return \Illuminate\View\View
public function view($view, $data = [], $mergeData = [])
return view('log-viewer::' . $view, $data, $mergeData);