From 112e56b0bd5e6a6aff3c1d513ad7d0c528e899f7 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 10 Oct 2011 12:23:03 -0500 Subject: split this out, so we can have attributes that aren't services --- lib/Bread/Board/Declare.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Bread/Board/Declare.pm') diff --git a/lib/Bread/Board/Declare.pm b/lib/Bread/Board/Declare.pm index 0d1b6ea..c0b35af 100644 --- a/lib/Bread/Board/Declare.pm +++ b/lib/Bread/Board/Declare.pm @@ -85,8 +85,9 @@ C<< required => 1 >> is still valid on these attributes. Constructor parameters for services (C, C, etc) can also be passed into the attribute definition; these will be forwarded to the -service constructor. See L for -a full list of additional parameters to C. +service constructor. See +L for a full list of +additional parameters to C. If C<< infer => 1 >> is passed in the attribute definition, the class in the type constraint will be introspected to find its required dependencies, and -- cgit v1.2.3