blib/lib/Yukki/Model.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« bin/yukki-add-user ↑ Summary blib/lib/Yukki/Role/App.pm »
1 package Yukki::Model;
2 7 $Yukki::Model::VERSION = '0.991_002'; # TRIAL
3  
4 7 ▶$Yukki::Model::VERSION = '0.991002';use v5.24;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 7 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 7 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 7 ▶use Type::Utils;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 7 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 # ABSTRACT: Base class for model objects
13  
14  
15 7 has app => (
16 is => 'ro',
17 isa => class_type('Yukki'),
18 required => 1,
19 weak_ref => 1,
20 handles => 'Yukki::Role::App',
21 );
22  
23 7 1;
24  
25 __END__
26  
27 =pod
28  
29 =encoding UTF-8
30  
31 =head1 NAME
32  
33 Yukki::Model - Base class for model objects
34  
35 =head1 VERSION
36  
37 version 0.991_002
38  
39 =head1 DESCRIPTION
40  
41 This is the base class used for model objects.
42  
43 =head1 ATTRIBUTES
44  
45 =head2 app
46  
47 This is the L<Yukki> application instance.
48  
49 =head1 AUTHOR
50  
51 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
52  
53 =head1 COPYRIGHT AND LICENSE
54  
55 This software is copyright (c) 2017 by Qubling Software LLC.
56  
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59  
60 =cut
« bin/yukki-add-user ↑ Summary blib/lib/Yukki/Role/App.pm »