1Test2::EventFacet(3) User Contributed Perl Documentation Test2::EventFacet(3)
2
3
4
6 Test2::EventFacet - Base class for all event facets.
7
9 Base class for all event facets.
10
12 $key = $facet_class->facet_key()
13 This will return the key for the facet in the facet data hash.
14
15 $bool = $facet_class->is_list()
16 This will return true if the facet should be in a list instead of a
17 single item.
18
19 $clone = $facet->clone()
20 $clone = $facet->clone(%replace)
21 This will make a shallow clone of the facet. You may specify fields
22 to override as arguments.
23
25 The source code repository for Test2 can be found at
26 http://github.com/Test-More/test-more/.
27
29 Chad Granum <exodist@cpan.org>
30
32 Chad Granum <exodist@cpan.org>
33
35 Copyright 2020 Chad Granum <exodist@cpan.org>.
36
37 This program is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40 See http://dev.perl.org/licenses/
41
42
43
44perl v5.34.0 2022-03-05 Test2::EventFacet(3)