]> git.donarmstrong.com Git - debbugs.git/blob - Debbugs/OOBase.pm
37896bc4fee9d34af79be0f4e5b7b723fe44a254
[debbugs.git] / Debbugs / OOBase.pm
1 # This module is part of debbugs, and
2 # is released under the terms of the GPL version 2, or any later
3 # version (at your option). See the file README and COPYING for more
4 # information.
5 # Copyright 2018 by Don Armstrong <don@donarmstrong.com>.
6
7 package Debbugs::OOBase;
8
9 =head1 NAME
10
11 Debbugs::OOBase -- OO Base class for Debbugs
12
13 =head1 SYNOPSIS
14
15
16 =head1 DESCRIPTION
17
18
19
20 =cut
21
22 use Mouse;
23 use strictures 2;
24 use namespace::autoclean;
25
26 has schema => (is => 'ro', isa => 'Object',
27                required => 0,
28                predicate => 'has_schema',
29               );
30
31 __PACKAGE__->meta->make_immutable;
32
33 1;
34
35 __END__
36 # Local Variables:
37 # indent-tabs-mode: nil
38 # cperl-indent-level: 4
39 # End: