- WIP on caching interface - Work done on easing template rendering for the controller
14 lines
321 B
PHP
14 lines
321 B
PHP
<?php
|
|
|
|
namespace Picea\ControlStructure;
|
|
|
|
class ViewToken implements ControlStructure {
|
|
|
|
public string $token = "view";
|
|
|
|
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) {
|
|
#$context->switchStack[] = true;
|
|
#return "<?php switch($arguments):";
|
|
}
|
|
}
|