Releases: jeyroik/extas-base
Releases · jeyroik/extas-base
2.11.0
2.10.0
2.9.0
2.8.0
2.7.0
2.6.0
Added runWithParameters()
$item = new class () {
use THasClass;
protected array $config = [IHasClass::FIELD__CLASS => PluginEmpty::class];
};
$item->runWithParameters(['some' => 'thing'], '__invoke', 'test', 'test1');
/*
* Equal to
* $dispatcher = $item->buildClassWithParameters(['some' => 'thing']);
* $dispatcher('test', 'test1');
*/