Methods of the class
constructor
$blade = new bladeone\BladeOne($views, $compile, $mode);
BladeOne(templatefolder, compiledfolder, $mode) Creates the instance of BladeOne.
$views indicates the folder or folders (it could be an array of folders) (without ending backslash) of where the template files (*.blade.php) are located.
compile indicates the folder where the result of files will be saved. This folder should have write permission. Also, this folder could be located outside of the Web Root.
$mode (optional). It sets the mode of the compile. See setMode(mode). By default it's automatic. Example:
run
echo $blade->run("hello, array("variable1" => :value1));
run]
Reference