1 package Catalyst::IOC::SubContainer;
4 use Catalyst::IOC::BlockInjection;
6 extends 'Bread::Board::Container';
9 my ( $self, $name, @args ) = @_;
11 return $self->resolve(
13 parameters => { accept_context_args => \@args },
17 sub get_component_regexp {
18 my ( $self, $query, $c, @args ) = @_;
21 $c->log->warn("Looking for '$query', but nothing was found.");
26 $self->get_component( $_, $c, @args )
27 } grep { m/$query/ } $self->get_service_list;
40 Catalyst::IOC::SubContainer - Container for models, controllers and views
46 =head2 get_component_regexp
50 Catalyst Contributors, see Catalyst.pm
54 This library is free software. You can redistribute it and/or modify it under
55 the same terms as Perl itself.