Merge branch 'master' of https://git.mcnd.ca/mcndave/picea
This commit is contained in:
commit
69db3efdce
6 files changed
+41
-18
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Picea\ControlStructure;
|
||||
|
||||
class IncludeToken implements ControlStructure {
|
||||
|
||||
public string $token = "include";
|
||||
|
||||
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) {
|
||||
return "<?php echo \$___class__template->picea->inlineContent($arguments); ?>";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user