File Coverage

blib/lib/Bolts/Scope/Prototype.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 2 2 100.0
total 10 10 100.0


line stmt bran cond sub pod time code
1             package Bolts::Scope::Prototype;
2             $Bolts::Scope::Prototype::VERSION = '0.143171';
3             # ABSTRACT: For artifacts that are constructed at every request
4              
5 11     11   56 use Moose;
  11         21  
  11         70  
6              
7             with 'Bolts::Scope';
8              
9              
10 408     408 1 560 sub get {}
11 407     407 1 681 sub put {}
12              
13             __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.143171
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