api refactoring part 2

This commit is contained in:
Čarodej
2022-05-12 10:42:08 +02:00
parent 70901a2df5
commit b8741439f5
29 changed files with 313 additions and 144 deletions

View File

@@ -1,14 +1,15 @@
<?php
namespace Domain\Homepage\Controllers;
use Domain\Settings\Actions\GetConfigAction;
use Illuminate\Contracts\View\View;
use Domain\Settings\Actions\GetConfigAction;
class IndexController
{
public function __construct(
public GetConfigAction $getConfig,
) {}
) {
}
/**
* Show index page