mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
29 lines
462 B
PHP
29 lines
462 B
PHP
<?php
|
|
|
|
/**
|
|
* Class BaseController
|
|
*/
|
|
class BaseController extends Controller
|
|
{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function __construct() {
|
|
parent::__construct();
|
|
Event::fire('limits.check');
|
|
}
|
|
/**
|
|
* Setup the layout used by the controller.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function setupLayout()
|
|
{
|
|
if (!is_null($this->layout)) {
|
|
$this->layout = View::make($this->layout);
|
|
}
|
|
}
|
|
|
|
}
|