1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 00:41:34 +02:00
invoiceninja/app/Http/Controllers/BaseController.php

24 lines
506 B
PHP
Raw Normal View History

2015-03-16 22:45:25 +01:00
<?php namespace App\Http\Controllers;
2016-03-02 14:36:42 +01:00
use Illuminate\Foundation\Bus\DispatchesJobs;
2016-04-26 03:53:39 +02:00
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
2015-10-28 20:22:07 +01:00
2015-03-16 22:45:25 +01:00
class BaseController extends Controller
{
2016-04-26 03:53:39 +02:00
use DispatchesJobs, AuthorizesRequests;
2016-05-15 12:58:11 +02:00
2016-04-28 14:16:33 +02:00
protected $entityType;
2015-10-28 20:22:07 +01:00
2015-03-16 22:45:25 +01:00
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
{
if (! is_null($this->layout)) {
$this->layout = View::make($this->layout);
}
}
}