1 package Catalyst::IOC::SubContainer;
4 use Catalyst::IOC::BlockInjection;
6 extends 'Bread::Board::Container';
8 has default_component => (
15 my ( $self, $name, @args ) = @_;
17 return $self->resolve(
19 parameters => { accept_context_args => \@args },
23 sub get_component_regexp {
24 my ( $self, $query, $c, @args ) = @_;
27 $self->get_component( $_, $c, @args )
28 } grep { m/$query/ } $self->get_service_list;
41 Catalyst::IOC::SubContainer - Container for models, controllers and views
47 =head2 get_component_regexp
51 Catalyst Contributors, see Catalyst.pm
55 This library is free software. You can redistribute it and/or modify it under
56 the same terms as Perl itself.