NAME

Nephia::Container - DSL Container class

SYNOPSIS

In your app class

package MyApp;
use Nephia plugins => [...];

my $external_logic = Nephia->call('C::Root#index');
app($external_logic);
1;

Then, In your external class

package MyApp::C::Root;
sub index {
    my $c = shift; ### <--- it is a Nephia::Container object that contains all DSLs as method.
    my $id = $c->param('id');
    [200, [], ["id is $id"]];
};
1;

DESCRIPTION

It's DSL container, DO NOT INSTANTIATE DIRECTLY.

METHODS

core

Returns Nephia::Core object.

LICENSE

Copyright (C) ytnobody.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

ytnobody <ytnobody@gmail.com>