line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooseX::DIC::Configuration::ServiceMetadata; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
1755
|
use MooseX::DIC::Types; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
126
|
|
4
|
|
|
|
|
|
|
|
5
|
5
|
|
|
5
|
|
24
|
use Moose; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
32
|
|
6
|
5
|
|
|
5
|
|
21184
|
use namespace::autoclean; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
48
|
|
7
|
|
|
|
|
|
|
|
8
|
5
|
|
|
5
|
|
385
|
use constant DEFAULT_ENVIRONMENT => 'default'; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
332
|
|
9
|
5
|
|
|
5
|
|
32
|
use constant DEFAULT_SCOPE => 'singleton'; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
216
|
|
10
|
5
|
|
|
5
|
|
27
|
use constant DEFAULT_BUILDER => 'Moose'; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
743
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has class_name => ( is => 'ro', isa => 'Str', required => 1 ); |
13
|
|
|
|
|
|
|
has implements => ( is => 'ro', isa => 'Str', required => 1 ); |
14
|
|
|
|
|
|
|
has scope => ( is => 'ro', isa => 'ServiceScope', default => DEFAULT_SCOPE ); |
15
|
|
|
|
|
|
|
has qualifiers => ( is => 'ro', isa => 'ArrayRef[Str]', default => sub { [] } ); |
16
|
|
|
|
|
|
|
has environment => ( is => 'ro', isa => 'Str', default => DEFAULT_ENVIRONMENT ); |
17
|
|
|
|
|
|
|
has builder => ( is => 'ro', isa => 'Str', default => DEFAULT_BUILDER ); |
18
|
|
|
|
|
|
|
has dependencies => ( is => 'ro', isa => 'HashRef[MooseX::DIC::Configuration::ServiceMetadata::Dependency]', default => sub {{}} ); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |