rosehill/libraries/Blossom/Classes/Controller.php

21 lines
449 B
PHP
Raw Normal View History

2014-08-18 19:53:40 +00:00
<?php
/**
* @copyright 2012-2013 City of Bloomington, Indiana
* @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE.txt
* @author Cliff Ingham <inghamn@bloomington.in.gov>
*/
namespace Blossom\Classes;
abstract class Controller
{
protected $template;
abstract public function index();
public function __construct(Template &$template)
{
$this->template = $template;
$this->template->controller = get_class($this);
}
}