abstract class AbstractController extends AbstractController

Handles database related logic

Properties

protected Response $response from AbstractController
protected DatabaseInterface $dbi from AbstractController
protected Template $template from AbstractController
protected string $db

Methods

__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db)

AbstractController constructor.

Details

at line 36
__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db)

AbstractController constructor.

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
string $db Database name