- 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:
mcndave committed 2020-10-20 19:38:37 +00:00
1 parent 10632e9f67
commit 2f8abebc44
6 files changed
+41 -17

No files matched your search

+1 -1
View File
@@ -57,6 +57,7 @@ class DefaultRegistrations implements LanguageRegistration
$compiler->registerControlStructure(new \Picea\ControlStructure\ExtendsToken());
$compiler->registerControlStructure(new \Picea\ControlStructure\SectionToken());
$compiler->registerControlStructure(new \Picea\ControlStructure\BlockToken());
$compiler->registerControlStructure(new \Picea\ControlStructure\IncludeToken());
$compiler->registerControlStructure(new \Picea\ControlStructure\ViewToken());
foreach($this->controlStructures ?? [] as $controlStructure) {
@@ -68,7 +69,6 @@ class DefaultRegistrations implements LanguageRegistration
{
$compiler->registerExtension(new \Picea\Extension\PhpExtension());
$compiler->registerExtension(new \Picea\Extension\JsonExtension($this->context));
$compiler->registerExtension(new \Picea\Extension\AssetExtension());
foreach($this->extensions ?? [] as $extension) {
$compiler->registerExtension($extension);