Bolts/Scope.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Bolts/Role/SelfLocator.pm ↑ Summary Bolts/Scope/Prototype.pm »
1 package Bolts::Scope;
2 10 $Bolts::Scope::VERSION = '0.143170';
3 # ABSTRACT: The interface for lifecycle managers
4  
5 10 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 10 requires 'get';
9 10 requires 'put';
10  
11 10 1;
12  
13 __END__
14  
15 =pod
16  
17 =encoding UTF-8
18  
19 =head1 NAME
20  
21 Bolts::Scope - The interface for lifecycle managers
22  
23 =head1 VERSION
24  
25 version 0.143170
26  
27 =head1 DESCRIPTION
28  
29 This describes the interface to be implemented by all artifact scopes, which are used to manage the lifecycles of artifacts in the Bolts system.
30  
31 =head1 REQUIRED METHODS
32  
33 =head2 get
34  
35 my $artifact = $scope->get($bag, $name);
36  
37 Fetches the named value out of the scope cache for the given bag.
38  
39 =head2 put
40  
41 $scope->put($bag, $name, $artifact);
42  
43 Stores the named value into the scope cache for the given bag.
44  
45 =head1 AUTHOR
46  
47 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
48  
49 =head1 COPYRIGHT AND LICENSE
50  
51 This software is copyright (c) 2014 by Qubling Software LLC.
52  
53 This is free software; you can redistribute it and/or modify it under
54 the same terms as the Perl 5 programming language system itself.
55  
56 =cut
« Bolts/Role/SelfLocator.pm ↑ Summary Bolts/Scope/Prototype.pm »