summaryrefslogtreecommitdiff
path: root/lib/Data/MultiValued/AttributeTrait.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data/MultiValued/AttributeTrait.pm')
-rw-r--r--lib/Data/MultiValued/AttributeTrait.pm28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/Data/MultiValued/AttributeTrait.pm b/lib/Data/MultiValued/AttributeTrait.pm
index 322feb2..c43c4be 100644
--- a/lib/Data/MultiValued/AttributeTrait.pm
+++ b/lib/Data/MultiValued/AttributeTrait.pm
@@ -302,6 +302,20 @@ into Moose attributes.
=head1 ATTRIBUTES
+=head2
+
+These are the attributes that this trait adds to the attribute in
+your class. Example:
+
+ has stuff => (
+ is => 'rw',
+ isa => 'Int',
+ traits => ['MultiValued::Tags'],
+ predicate => 'has_stuff',
+ multi_accessor => 'stuff_tagged',
+ multi_predicate => 'has_stuff_tagged',
+ );
+
=head2 C<full_storage_slot>
The instance slot to use to store the C<Data::MultiValued::Tags> or
@@ -445,20 +459,6 @@ Returns the result of calling C<_as_hash> on the value inside the
L</full_storage_slot> of the instance. Returns nothing if the slot
does not have a value.
-=head1 ATTRIBUTES
-
-These are the attributes that this trait adds to the attribute in
-your class. Example:
-
- has stuff => (
- is => 'rw',
- isa => 'Int',
- traits => ['MultiValued::Tags'],
- predicate => 'has_stuff',
- multi_accessor => 'stuff_tagged',
- multi_predicate => 'has_stuff_tagged',
- );
-
=head1 Implementation details
The multi-value object is stored in the instance slot named by the