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 $self->get_component( $_, $c, @args )
22 } grep { m/$query/ } $self->get_service_list;
35 Catalyst::IOC::SubContainer - Container for models, controllers and views
41 =head2 get_component_regexp
45 Catalyst Contributors, see Catalyst.pm
49 This library is free software. You can redistribute it and/or modify it under
50 the same terms as Perl itself.