projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
subcontainer class for shortened syntax
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
SubContainer.pm
1
package Catalyst::SubContainer;
2
use Bread::Board;
3
use Moose;
4
use Catalyst::BlockInjection;
5
6
extends 'Bread::Board::Container';
7
8
sub get_component {
9
my ( $self, $name, $args ) = @_;
10
return $self->resolve( service => $name, parameters => { context => $args } );
11
}
12
13
1;