Mojolicious::Plugin - Plugin Base Class
use Mojo::Base 'Mojolicious::Plugin';
See Mojolicious::Plugins for more information.
This method will be called by Mojolicious::Plugins at startup time, your plugin should use this to hook into the application. For instace by adding handlers and helpers to the renderer or using the
add_hooks method of Mojolicious::Plugins to hook into the request flow.