Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php namespace App\Controllers;
use CodeIgniter\Controller;
use Jenssegers\Blade\Blade;
class BaseController extends Controller
{
protected $blade;
public function __construct () {
$this->blade = new Blade(APPPATH . 'Views', APPPATH . 'Cache');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.