MooseX::AttributeIndexes::Provider - A role that advertises an object is capable of providing metadata.


MooseX-AttributeIndexes documentation Contained in the MooseX-AttributeIndexes distribution.

Index


Code Index:

NAME

Top

MooseX::AttributeIndexes::Provider - A role that advertises an object is capable of providing metadata.

VERSION

Top

version 1.0.1

SYNOPSIS

Top

  use Moose;
  with 'MooseX::AttributeIndexes::Provider';

  sub attribute_indexes {
    return {
      foo => 'bar',
    };
  }

WARNING

Top

This code is alpha, and its interface is prone to change.

REQUIRES

Top

attribute_indexes

A sub that returns a hashref of index-name=>index-value entries for the given object

AUTHORS

Top

COPYRIGHT AND LICENSE

Top


MooseX-AttributeIndexes documentation Contained in the MooseX-AttributeIndexes distribution.

use strict;
use warnings;
package MooseX::AttributeIndexes::Provider;
BEGIN {
  $MooseX::AttributeIndexes::Provider::VERSION = '1.0.1';
}

# ABSTRACT: A role that advertises an object is capable of providing metadata.

# $Id:$
use Moose::Role;
use namespace::autoclean;



requires 'attribute_indexes';

1;


__END__