Этот коммит содержится в:
2019-11-12 20:23:32 +03:00
родитель 5e4ad2b0eb
Коммит 04d7efa232
15 изменённых файлов: 511 добавлений и 37 удалений

Просмотреть файл

@@ -6,8 +6,10 @@ use MyApp\Core\View;
class DefaultView extends View
{
public function index(): string
public function index($tree): string
{
$this->{'tree'} = $tree;
return $this->setTitle('Home')->render('default/index');
}
}