Massive upgrade

This commit is contained in:
genuineparts 2025-06-02 22:38:25 +02:00
parent 99a9ed919e
commit c1a3437f9b
396 changed files with 29083 additions and 31939 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace Smarty\FunctionHandler;
use Smarty\Template;
class BCPluginWrapper extends Base {
private $callback;
public function __construct($callback, bool $cacheable = true) {
$this->callback = $callback;
$this->cacheable = $cacheable;
}
public function handle($params, Template $template) {
$func = $this->callback;
return $func($params, $template);
}
}