diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-10-10 12:23:03 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-10-10 12:34:06 -0500 |
commit | 112e56b0bd5e6a6aff3c1d513ad7d0c528e899f7 (patch) | |
tree | f8d675f744245ac17c5cea00554beaa5560df48a /lib/Bread/Board/Declare.pm | |
parent | 5c235d524709938d131823e4c17fac45027dd463 (diff) | |
download | bread-board-declare-112e56b0bd5e6a6aff3c1d513ad7d0c528e899f7.tar.gz bread-board-declare-112e56b0bd5e6a6aff3c1d513ad7d0c528e899f7.zip |
split this out, so we can have attributes that aren't services
Diffstat (limited to 'lib/Bread/Board/Declare.pm')
-rw-r--r-- | lib/Bread/Board/Declare.pm | 5 |
1 files changed, 3 insertions, 2 deletions
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<dependencies>, C<lifecycle>, etc) can also be passed into the attribute definition; these will be forwarded to the -service constructor. See L<Bread::Board::Declare::Meta::Role::Attribute> for -a full list of additional parameters to C<has>. +service constructor. See +L<Bread::Board::Declare::Meta::Role::Attribute::Service> for a full list of +additional parameters to C<has>. 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 |