This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
|
<?php
|
|
|
|
class BaseController extends Controller {
|
|
|
|
/**
|
|
* Setup the layout used by the controller.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function setupLayout()
|
|
{
|
|
if ( ! is_null($this->layout))
|
|
{
|
|
$this->layout = View::make($this->layout);
|
|
}
|
|
}
|
|
|
|
}
|