line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CatalystX::Eta::Controller::AutoResultGET; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1165
|
use Moose::Role; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
13
|
|
4
|
|
|
|
|
|
|
requires 'result_GET'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
around result_GET => \&AutoResult_around_result_GET; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub AutoResult_around_result_GET { |
9
|
3
|
|
|
3
|
|
3933
|
my $orig = shift; |
10
|
3
|
|
|
|
|
6
|
my $self = shift; |
11
|
3
|
|
|
|
|
6
|
my ($c) = @_; |
12
|
|
|
|
|
|
|
|
13
|
3
|
|
|
|
|
12
|
my $it = $c->stash->{ $self->config->{object_key} }; |
14
|
|
|
|
|
|
|
|
15
|
3
|
|
|
|
|
377
|
my $func = $self->config->{build_row}; |
16
|
|
|
|
|
|
|
|
17
|
3
|
|
|
|
|
217
|
my $ref = $func->( $it, $self, $c ); |
18
|
|
|
|
|
|
|
|
19
|
3
|
|
|
|
|
448
|
$self->status_ok( $c, entity => $ref ); |
20
|
|
|
|
|
|
|
|
21
|
3
|
|
|
|
|
786
|
$self->$orig(@_); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |