The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Nephia::Plugin - Base Class of Nephia Plugin

DESCRIPTION

This class is a base class of Nephia Plugin.

If you want to create a plugin for Nephia, your plugin have to inherit it.

METHODS

app

my $app = $self->app; 

Returns application-class object.

exports

sub exports {
    return qw/exportee of your plugin/;
}

Specifier for target of exports.

You have to override it if you want to export some DSL.

needs

sub needs {
    return qw/PluginA PluginB/;
}

Specifier for needs plugins.

requires

sub requires {
    return qw/dsl_a dsl_b/;
}

Specifier for required DSLs.

AUTHOR

ytnobody <ytnobody@gmail.com>

SEE ALSO

Nephia::Plugin