Setup
Paths
The paths used for view templates and for cached files are set by passing them to the constructor:
use duncan3dc\Laravel\Blade;
$blade = new BladeInstance("/var/www/views", "/var/www/cache/views");
Contract
The BladeInstance
class follows the contracts philosophy of Laravel and implements the Factory interface.
This means that you should be able to use BladeInstance
anywhere that is currently coded to accept a regular Laravel view factory.