Releases
v3.1.0
dg
released this
31 Dec 18:32
Features
Template divided into hierarchy Template > DefaultTemplate
DefaultTemplate: added default properites and @methods
Template, DefaultTemplate: magic access via __get/__set replaced with object properties
Control, Presenter::createTemplate() added parameter $class for custom creation of the Template
Control, Presenter::createTemplate() tries to create custom Template according to naming convention
Presenter::sendTemplate() added parameter $template
Link: added isLinkCurrent() & getComponent() [Closes #229 ]
UIMacros: support named arguments {control x: 1}
Control::flashMessage accepts custom flash object
Template: passes the template to the latte instead of just parameters.
UIMacros: overloaded macro {templatePrint}
Changes
requires PHP 7.2
RoutingExtension: creates service 'routes' only when routes are defined (BC break)
RoutingExtension: removed option 'routeClass' (BC break)
Presenter::getContext() & others trigger error message
removed prefix I from interfaces (except for IPresenter & IPresenterLoader)
ApplicationExtension: option 'scanFilter' changed to pattern, default is '*Presenter'
ApplicationExtension: catchExceptions is always true on production mode (BC break)
UIMacros: modifiers are deprecated in {control}
Route, SimpleRouter: flags is deprecated
You can’t perform that action at this time.