abstract class AbstractController

Base class for all of controller

Properties

protected Response $response
protected DatabaseInterface $dbi
protected Template $template

Methods

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

AbstractController constructor.

Details

at line 45
__construct(Response $response, DatabaseInterface $dbi, Template $template)

AbstractController constructor.

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used (if provided, default one otherwise)