Commit | Line | Data |
---|---|---|
b96f127f | 1 | package Catalyst::DispatchType; |
2 | ||
3 | use strict; | |
2633d7dc | 4 | use base 'Class::Accessor::Fast'; |
b96f127f | 5 | |
2633d7dc | 6 | =head1 NAME |
b96f127f | 7 | |
2633d7dc | 8 | Catalyst::DispatchType - DispatchType Base Class |
b96f127f | 9 | |
2633d7dc | 10 | =head1 SYNOPSIS |
11 | ||
12 | See L<Catalyst>. | |
13 | ||
14 | =head1 DESCRIPTION | |
15 | ||
16 | =head1 METHODS | |
17 | ||
18 | =over 4 | |
19 | ||
a9cbd748 | 20 | =item $self->list($c) |
21 | ||
22 | =cut | |
23 | ||
24 | sub list { } | |
25 | ||
2633d7dc | 26 | =item $self->match( $c, $path ) |
27 | ||
28 | =cut | |
29 | ||
30 | sub match { die "Abstract method!" } | |
31 | ||
32 | =item $self->register( $c, $action ) | |
33 | ||
34 | =cut | |
35 | ||
a9cbd748 | 36 | sub register { } |
2633d7dc | 37 | |
38 | =back | |
39 | ||
40 | =head1 AUTHOR | |
41 | ||
42 | Matt S Trout | |
43 | Sebastian Riedel, C<sri@cpan.org> | |
44 | ||
45 | =head1 COPYRIGHT | |
46 | ||
47 | This program is free software, you can redistribute it and/or modify it under | |
48 | the same terms as Perl itself. | |
49 | ||
50 | =cut | |
b96f127f | 51 | |
52 | 1; |