Releases: EFTEC/BladeOne
Releases · EFTEC/BladeOne
4.16
4.15.2
4.15.1
4.14
4.13
4.12
4.11
changelog
Mainly, now it is possible to create custom controls (custom tags) without much complexity using the new runtime control.
Also, it is possible to add new methods without extending the class.
Example:
$blade->addMethod('runtime','card',static function($args) { // @card($item)
$result='';
$result.=BladeOne::$instance->runChild('card,['value'=>$args[0]]); // card is a view.
return $result;
});