From: André Walker Date: Mon, 25 Jul 2011 23:06:05 +0000 (-0300) Subject: merge gsoc_breadboard_moved_setup_component X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=55f2f3992e638c23083924b46889afcfafca565f merge gsoc_breadboard_moved_setup_component --- 55f2f3992e638c23083924b46889afcfafca565f diff --cc lib/Catalyst/IOC/Container.pm index 71bc69c,bfd1004..040dc83 --- a/lib/Catalyst/IOC/Container.pm +++ b/lib/Catalyst/IOC/Container.pm @@@ -657,20 -652,14 +698,22 @@@ Looks for components in a given subcont =head2 get_all_components +Fetches all the components, in each of the sub_containers model, view and controller, and returns a readonly hash. The keys are the class names, and the values are the blessed objects. This is what is returned by $c->components. + =head2 add_component +Adds a component to the appropriate subcontainer. The subcontainer is guessed by the component name given. + =head2 find_component +Searches for components in all containers. If $component is the full class name, the subcontainer is guessed, and it gets the searched component in there. Otherwise, it looks for a component with that name in all subcontainers. If $component is a regexp, it calls the method below, find_component_regexp, and matches all components against that regexp. + =head2 find_component_regexp +Finds components that match a given regexp. Used internally, by find_component. + + =head2 setup_component + =head2 _fix_syntax =head2 _config_substitutions