Files
picea/src/ControlStructure/IncludeToken.php
T

13 lines
324 B
PHP

<?php
namespace Picea\ControlStructure;
class IncludeToken implements ControlStructure {
public string $token = "include";
public function parse(\Picea\Compiler\Context &$context, ? string $viewPath, string $token) {
return "<?php echo \$___class__template->picea->inlineContent($viewPath); ?>";
}
}