\Anax\AppAppDI

An App class to wrap the resources of the framework, prepared to use a DI container.

Summary

Methods
Properties
Constants
setDI()
redirect()
renderPage()
No public properties found
No constants found
No protected methods found
$di
N/A
No private methods found
No private properties found
N/A

Properties

$di

$di : \Anax\DI\Anax\DI\DIInterface

Type

\Anax\DI\Anax\DI\DIInterface — the DI service container.

Methods

setDI()

setDI(\Anax\DI\Anax\DI\DIInterface  $di) : self

Set the service container to use

Parameters

\Anax\DI\Anax\DI\DIInterface $di

a service container

Returns

self

redirect()

redirect(  $url) 

Parameters

$url

renderPage()

renderPage(  $data,   $status = 200) 

Render a standard web page using a specific layout.

Parameters

$data
$status