PHP Class Standard\Controllers\ExtraController

Mostra 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.
indexAction ( )

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 ( )

indexAction() public method

public indexAction ( )