X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FIOC%2FSubContainer.pm;h=27512682bbb12ae7568dd1200fc44bd54b1cd27f;hb=a2c0d07186c771bfd7b07bd8786cd5299b6639f6;hp=068f379d0eb6ebdedfe98faa466b9e294ade2be5;hpb=af5df7d1f17d65499d0a7b4bbd8237add631bb33;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/IOC/SubContainer.pm b/lib/Catalyst/IOC/SubContainer.pm index 068f379..2751268 100644 --- a/lib/Catalyst/IOC/SubContainer.pm +++ b/lib/Catalyst/IOC/SubContainer.pm @@ -5,6 +5,12 @@ use Catalyst::IOC::BlockInjection; extends 'Bread::Board::Container'; +has default_component => ( + isa => 'Str|Undef', + is => 'ro', + required => 0, +); + sub get_component { my ( $self, $name, @args ) = @_;