PHP Class Standard\Controllers\HomeController

Inheritance: extends Standard\Abstracts\Controller
Show file Open project: Swader/nofw

Public Methods

Method Description
__construct ( Twig_Environment $twig )
__invoke ( ) Example of an invokable class, i.e. a class that has an __invoke() method.

Method Details

__construct() public method

public __construct ( Twig_Environment $twig )
$twig Twig_Environment

__invoke() public method

Example of an invokable class, i.e. a class that has an __invoke() method.
See also: http://php.net/manual/en/language.oop5.magic.php#object.invoke
public __invoke ( )