mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 19:31:01 -06:00
29 lines
474 B
PHP
29 lines
474 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);
|
|
}
|
|
}
|
|
|
|
}
|