phpvms/app/Contracts/Widget.php
Arthur Parienté 992b6d343a
[8.x] feature: upgrade to Laravel 13 (#2204)
* upgrade to laravel 13

* phpstan

* rollback to symfony 7.4

* fix: ModuleService merge

* refactor: new rector rules
2026-05-06 11:27:21 -05:00

29 lines
459 B
PHP

<?php
declare(strict_types=1);
namespace App\Contracts;
use Arrilot\Widgets\AbstractWidget;
use Illuminate\Contracts\View\Factory;
use Illuminate\View\View;
/**
* Class Widget
*/
abstract class Widget extends AbstractWidget
{
public $cacheTime = 0;
/**
* Render the template
*
*
* @return Factory|View
*/
public function view(string $template, array $vars = [])
{
return view($template, $vars);
}
}