[Catalyst-commits] r9572 - Catalyst-Runtime/5.70/trunk/lib/Catalyst
ash at dev.catalyst.perl.org
ash at dev.catalyst.perl.org
Tue Mar 24 09:49:44 GMT 2009
Author: ash
Date: 2009-03-24 09:49:44 +0000 (Tue, 24 Mar 2009)
New Revision: 9572
Modified:
Catalyst-Runtime/5.70/trunk/lib/Catalyst/Dispatcher.pm
Log:
Document dispatcher->dispatch_type
Modified: Catalyst-Runtime/5.70/trunk/lib/Catalyst/Dispatcher.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/lib/Catalyst/Dispatcher.pm 2009-03-24 02:36:41 UTC (rev 9571)
+++ Catalyst-Runtime/5.70/trunk/lib/Catalyst/Dispatcher.pm 2009-03-24 09:49:44 UTC (rev 9572)
@@ -644,7 +644,14 @@
return @loaded;
}
-# Dont document this until someone else is happy with beaviour. Ash 2009/03/16
+=head2 $self->dispatch_type( $type )
+
+Get the DispatchType object of the relevant type, i.e. passing C<$type> of
+C<Chained> would return a L<Catalyst::DispatchType::Chained> object (assuming
+of course it's being used.)
+
+=cut
+
sub dispatch_type {
my ($self, $name) = @_;
More information about the Catalyst-commits
mailing list