Cli
This commit is contained in:
@ -9,12 +9,12 @@ class View
|
||||
protected $cache;
|
||||
protected $blade;
|
||||
|
||||
public function __construct()
|
||||
public function __construct(array $variables = [])
|
||||
{
|
||||
$this->views = config('locations.views');
|
||||
$this->cache = config('locations.cache');
|
||||
|
||||
$this->blade = new BladeOne($this->views, $this->cache);
|
||||
$this->blade = new BladeOne($this->views, $this->cache, null, $variables);
|
||||
}
|
||||
public function show($template, $vars = null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user