Merge master into gsoc_breadboard
[catagits/Catalyst-Runtime.git] / lib / Catalyst / IOC / Service / WithParameters.pm
CommitLineData
642eba83 1package Catalyst::IOC::Service::WithParameters;
2use Moose::Role;
3
8f5f2108 4with 'Bread::Board::Service::WithParameters' => { excludes => '_build_parameters' };
642eba83 5
3c628ac6 6# FIXME - shouldn't this be merged with WithAcceptContext?
7
642eba83 8sub _build_parameters {
9fa9a182 9 {
10 ctx => {
11 required => 1,
12 },
642eba83 13 accept_context_args => {
8f5f2108 14 isa => 'ArrayRef',
f82399fe 15 default => [],
642eba83 16 }
17 };
18}
19
20no Moose::Role;
211;
22
23__END__
24
25=pod
26
27=head1 NAME
28
29Catalyst::IOC::Service::WithParameters
30
31=head1 DESCRIPTION
32
33=head1 METHODS
34
35=head1 AUTHORS
36
37Catalyst Contributors, see Catalyst.pm
38
39=head1 COPYRIGHT
40
41This library is free software. You can redistribute it and/or modify it under
42the same terms as Perl itself.
43
44=cut