Bolts/Scope/Prototype.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 2 / 2 totaltotal 100% 11 / 11 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
get
1.0
put
1.0
CRAP 1.0
« Bolts/Scope.pm ↑ Summary
1 package Bolts::Scope::Prototype;
2 10 $Bolts::Scope::Prototype::VERSION = '0.143170';
3 # ABSTRACT: For artifacts that are constructed at every request
4  
5 10 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 10 with 'Bolts::Scope';
8  
9  
10 ▶sub get {}
Subroutine get: called CC=1 SCAR=0.0
Pod documented
11 ▶sub put {}
Subroutine put: called CC=1 SCAR=0.0
Pod documented
12  
13 10 __PACKAGE__->meta->make_immutable;
14  
15 __END__
16  
17 =pod
18  
19 =encoding UTF-8
20  
21 =head1 NAME
22  
23 Bolts::Scope::Prototype - For artifacts that are constructed at every request
24  
25 =head1 VERSION
26  
27 version 0.143170
28  
29 =head1 DESCRIPTION
30  
31 This is a lifecycle scope for objects that should be constructed from their blueprints on every aquisition.
32  
33 =head1 ROLES
34  
35 =over
36  
37 =item *
38  
39 L<Bolts::Scope>
40  
41 =back
42  
43 =head1 METHODS
44  
45 =head2 get
46  
47 No-op. This will always return C<undef>.
48  
49 =head2 put
50  
51 No-op. This will never store anything.
52  
53 =head1 AUTHOR
54  
55 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
56  
57 =head1 COPYRIGHT AND LICENSE
58  
59 This software is copyright (c) 2014 by Qubling Software LLC.
60  
61 This is free software; you can redistribute it and/or modify it under
62 the same terms as the Perl 5 programming language system itself.
63  
64 =cut
« Bolts/Scope.pm ↑ Summary