This commit is contained in:
2022-02-15 07:33:00 +01:00
commit 50638af575
52 changed files with 7293 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace App\Presenters;
use Nette;
use Vite;
/**
* Base presenter for all application presenters.
*/
abstract class BasePresenter extends Nette\Application\UI\Presenter
{
public function __construct(
private Vite $vite,
) {}
public function beforeRender(): void
{
$this->template->vite = $this->vite;
}
}