class HomeController extends AbstractController

Class HomeController

Properties

protected ConfigFile $config from AbstractController
protected Template $template from AbstractController

Methods

__construct(ConfigFile $config, Template $template)

AbstractController constructor.

array
getPages()

No description

string
index(array $params)

No description

Details

in AbstractController at line 38
__construct(ConfigFile $config, Template $template)

AbstractController constructor.

Parameters

ConfigFile $config ConfigFile instance
Template $template Template instance

in AbstractController at line 47
protected array getPages()

Return Value

array

at line 29
string index(array $params)

Parameters

array $params Request parameters

Return Value

string HTML