openvk/Web/Presenters/HelloPresenter.php

12 lines
263 B
PHP
Raw Normal View History

2020-06-07 19:04:43 +03:00
<?php declare(strict_types=1);
namespace hello\Web\Presenters;
use Chandler\MVC\SimplePresenter;
final class HelloPresenter extends SimplePresenter
{
function renderIndex(string $name = "Celestine"): void
{
$this->template->name = $name;
}
}