| 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 | ||