projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
ditching the COMPONENT constructor
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestAppCustomContainer
/
Model
/
Baz.pm
1
package TestAppCustomContainer::Model::Baz;
2
use Moose;
3
extends 'Catalyst::Model';
4
with 'TestAppCustomContainer::Role::HoldsFoo',
5
'TestAppCustomContainer::Role::ACCEPT_CONTEXT';
6
7
sub BUILD {
8
my ( $self ) = @_;
9
10
$self->foo->inc_baz_got_it;
11
}
12
13
__PACKAGE__->meta->make_immutable;
14
15
no Moose;
16
1;