Basic functionality
This commit is contained in:
16
app/model/Latte/Macros.php
Executable file
16
app/model/Latte/Macros.php
Executable file
@@ -0,0 +1,16 @@
|
||||
<?php declare(strict_types = 1);
|
||||
|
||||
namespace App\Model\Latte;
|
||||
|
||||
use Latte\Compiler;
|
||||
use Latte\Macros\MacroSet;
|
||||
|
||||
final class Macros extends MacroSet
|
||||
{
|
||||
|
||||
public static function register(Compiler $compiler): void
|
||||
{
|
||||
$compiler = new static($compiler);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user