- Implemented OPCACHE caching - Added View() token logic - New FileFetcher added to gather files from given view path
14 lines
281 B
PHP
14 lines
281 B
PHP
<?php
|
|
|
|
namespace Picea\Extension;
|
|
|
|
class AssetExtension implements Extension {
|
|
|
|
public string $token = "asset";
|
|
|
|
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) {
|
|
return "<?php echo 'assets! $arguments' ?>";
|
|
}
|
|
|
|
}
|