- Added a new Include token (which was added as RAW content)
- Fixed UrlExtension to reflect on notes-routes changes - Added some methods to FileFetcher
This commit is contained in:
1 parent
10632e9f67
commit
2f8abebc44
6 files changed
+41
-17
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