You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like the plugin_setting keyword in plugins, this is also a keyword from the old plugins interface. There is no need for this keyword since the new plugins interface is object-oriented and has the available methods.
Benefits to Dancer2 codebase
A cleaner, leaner code-base.
Benefit to Dancer2 Community
A more consistent, less confusing interface.
Alternatives
When writing a plugin, use the $self->app->request() method instead.
The text was updated successfully, but these errors were encountered:
Why?
Just like the
plugin_setting
keyword in plugins, this is also a keyword from the old plugins interface. There is no need for this keyword since the new plugins interface is object-oriented and has the available methods.Benefits to Dancer2 codebase
A cleaner, leaner code-base.
Benefit to Dancer2 Community
A more consistent, less confusing interface.
Alternatives
When writing a plugin, use the
$self->app->request()
method instead.The text was updated successfully, but these errors were encountered: