X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FComponent.pm;h=d0692785239aef60e4ea92e2395ff8f916ac47c6;hp=0fbca47f77be75e5ac919289b0b6efce3dd8a19a;hb=fb0c5b21c3c972bc88b8c6c481f9937f31658a23;hpb=1b79e1994c40fc525b4a84c900a5c95ffd4a2f8a diff --git a/lib/Catalyst/Component.pm b/lib/Catalyst/Component.pm index 0fbca47..d069278 100644 --- a/lib/Catalyst/Component.pm +++ b/lib/Catalyst/Component.pm @@ -172,6 +172,14 @@ something like this: return $class->new($app, $args); } +=head2 _component_class + +The class name of the component within an application. This is used to +pass the component's class name to actions generated (becoming +C<< $action->class >>). This is needed so that the L method can +return an instance of a different class (e.g. a L anonymous class), +and should be used to retrieve a component instead of C<< ref($self) >>. + =head2 $c->config =head2 $c->config($hashref)