Basic functionality

This commit is contained in:
2022-03-12 16:25:30 +01:00
parent f3beaa64cf
commit acc21b7b24
137 changed files with 12647 additions and 5089 deletions

View File

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