2018-10-04 19:10:43 +02:00
|
|
|
<?php
|
2019-05-11 05:32:07 +02:00
|
|
|
/**
|
2020-09-06 11:38:10 +02:00
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
2019-05-11 05:32:07 +02:00
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2023-01-28 23:21:40 +01:00
|
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
2019-05-11 05:32:07 +02:00
|
|
|
*
|
2021-06-16 08:58:16 +02:00
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
2019-05-11 05:32:07 +02:00
|
|
|
*/
|
2018-10-04 19:10:43 +02:00
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
2020-10-28 11:10:49 +01:00
|
|
|
use Illuminate\Contracts\View\Factory;
|
2020-09-06 11:38:10 +02:00
|
|
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
2018-10-04 19:10:43 +02:00
|
|
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
2018-10-15 07:00:48 +02:00
|
|
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
2020-09-06 11:38:10 +02:00
|
|
|
use Illuminate\Routing\Controller as BaseController;
|
2020-10-28 11:10:49 +01:00
|
|
|
use Illuminate\View\View;
|
2018-10-04 19:10:43 +02:00
|
|
|
|
|
|
|
class Controller extends BaseController
|
|
|
|
{
|
2024-01-14 05:05:00 +01:00
|
|
|
use AuthorizesRequests;
|
|
|
|
use DispatchesJobs;
|
|
|
|
use ValidatesRequests;
|
2020-03-13 22:17:08 +01:00
|
|
|
|
|
|
|
/**
|
2020-03-23 18:10:42 +01:00
|
|
|
* Proxy method for rendering views.
|
|
|
|
*
|
2020-03-13 22:17:08 +01:00
|
|
|
* @param string $path
|
|
|
|
* @param array $options
|
|
|
|
*
|
2020-10-28 11:10:49 +01:00
|
|
|
* @return Factory|View
|
2020-03-13 22:17:08 +01:00
|
|
|
*/
|
|
|
|
public function render(string $path, array $options = [])
|
|
|
|
{
|
2020-03-23 18:10:42 +01:00
|
|
|
return render($path, $options);
|
2020-03-13 22:17:08 +01:00
|
|
|
}
|
2018-10-04 19:10:43 +02:00
|
|
|
}
|