firefly-iii/app/controllers/BaseController.php
2014-08-28 07:53:54 +02:00

31 lines
479 B
PHP

<?php
/**
* Class BaseController
*/
class BaseController extends Controller
{
/**
*
*/
public function __construct()
{
\Event::fire('limits.check');
\Event::fire('piggybanks.check');
}
/**
* Setup the layout used by the controller.
*
* @return void
*/
protected function setupLayout()
{
if (!is_null($this->layout)) {
$this->layout = View::make($this->layout);
}
}
}