File Coverage

blib/lib/Bread/Board/Container/FromParameterized.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Bread::Board::Container::FromParameterized;
2             our $AUTHORITY = 'cpan:STEVAN';
3             # ABSTRACT: container with weak parent reference
4             $Bread::Board::Container::FromParameterized::VERSION = '0.35';
5 53     53   354 use Moose;
  53         133  
  53         855  
6              
7             extends 'Bread::Board::Container';
8              
9             has '+parent' => (
10             weak_ref => 0,
11             );
12              
13             __PACKAGE__->meta->make_immutable;
14              
15 53     53   350642 no Moose; 1;
  53         137  
  53         265  
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Bread::Board::Container::FromParameterized - container with weak parent reference
26              
27             =head1 VERSION
28              
29             version 0.35
30              
31             =head1 DESCRIPTION
32              
33             When L<creating|Bread::Board::Container::Parameterized/create (
34             %params )> an actual container from a L<parameterized
35             container|Bread::Board::Container::Parameterized>, the returned
36             container is re-blessed into this class.
37              
38             The only difference between this class and L<Bread::Board::Container>
39             is that the C<parent> attribute here is a weak reference.
40              
41             =head1 AUTHOR
42              
43             Stevan Little <stevan@iinteractive.com>
44              
45             =head1 BUGS
46              
47             Please report any bugs or feature requests on the bugtracker website
48             https://github.com/stevan/BreadBoard/issues
49              
50             When submitting a bug or request, please include a test-file or a
51             patch to an existing test-file that illustrates the bug or desired
52             feature.
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2017, 2016, 2015, 2014, 2013, 2011, 2009 by Infinity Interactive.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut