Commit | Line | Data |
642eba83 |
1 | package Catalyst::IOC::Service::WithParameters; |
2 | use Moose::Role; |
3 | |
8f5f2108 |
4 | with 'Bread::Board::Service::WithParameters' => { excludes => '_build_parameters' }; |
642eba83 |
5 | |
6 | sub _build_parameters { |
7 | return { |
8 | accept_context_args => { |
8f5f2108 |
9 | isa => 'ArrayRef', |
10 | required => 1, |
642eba83 |
11 | } |
12 | }; |
13 | } |
14 | |
15 | no Moose::Role; |
16 | 1; |
17 | |
18 | __END__ |
19 | |
20 | =pod |
21 | |
22 | =head1 NAME |
23 | |
24 | Catalyst::IOC::Service::WithParameters |
25 | |
26 | =head1 DESCRIPTION |
27 | |
28 | =head1 METHODS |
29 | |
30 | =head1 AUTHORS |
31 | |
32 | Catalyst Contributors, see Catalyst.pm |
33 | |
34 | =head1 COPYRIGHT |
35 | |
36 | This library is free software. You can redistribute it and/or modify it under |
37 | the same terms as Perl itself. |
38 | |
39 | =cut |