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 | ||
20 | =item $self->match( $c, $path ) | |
21 | ||
22 | =cut | |
23 | ||
24 | sub match { die "Abstract method!" } | |
25 | ||
26 | =item $self->register( $c, $action ) | |
27 | ||
28 | =cut | |
29 | ||
30 | sub register { return } | |
31 | ||
32 | =back | |
33 | ||
34 | =head1 AUTHOR | |
35 | ||
36 | Matt S Trout | |
37 | Sebastian Riedel, C<sri@cpan.org> | |
38 | ||
39 | =head1 COPYRIGHT | |
40 | ||
41 | This program is free software, you can redistribute it and/or modify it under | |
42 | the same terms as Perl itself. | |
43 | ||
44 | =cut | |
b96f127f | 45 | |
46 | 1; |