From 365ea7e974e669547ee2c4a1b8f394149349c3ce Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 21 Feb 2011 16:58:32 -0600 Subject: add docs --- lib/Bread/Board/Declare/Role/Service.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/Bread/Board/Declare/Role') diff --git a/lib/Bread/Board/Declare/Role/Service.pm b/lib/Bread/Board/Declare/Role/Service.pm index a428dfd..e0b36f9 100644 --- a/lib/Bread/Board/Declare/Role/Service.pm +++ b/lib/Bread/Board/Declare/Role/Service.pm @@ -4,10 +4,17 @@ use Moose::Role; =head1 DESCRIPTION +This role modifies L objects for use in +L. It holds a reference to the attribute object that the +service is associated with, and overrides the C method to prefer to return +the value in the attribute, if it exists. + =cut =attr associated_attribute +The attribute metaobject that this service is associated with. + =cut has associated_attribute => ( @@ -32,6 +39,9 @@ around get => sub { =method parent_container +Returns the Bread::Board::Declare container object that this service is +contained in. + =cut sub parent_container { -- cgit v1.2.3-54-g00ecf