primo commit
This commit is contained in:
26
libraries/fof30/View/Engine/BladeEngine.php
Normal file
26
libraries/fof30/View/Engine/BladeEngine.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @package FOF
|
||||
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
|
||||
* @license GNU General Public License version 2, or later
|
||||
*/
|
||||
|
||||
namespace FOF30\View\Engine;
|
||||
|
||||
defined('_JEXEC') || die;
|
||||
|
||||
use FOF30\View\View;
|
||||
|
||||
/**
|
||||
* View engine for compiling PHP template files.
|
||||
*/
|
||||
class BladeEngine extends CompilingEngine implements EngineInterface
|
||||
{
|
||||
public function __construct(View $view)
|
||||
{
|
||||
parent::__construct($view);
|
||||
|
||||
// Assign the Blade compiler to this engine
|
||||
$this->compiler = $view->getContainer()->blade;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user