NAME

MooseX::Attribute::Prototypes - Collection Class for MooseX::Attribute::Prototype

VERSION

0.01

SYNOPSIS

use MooseX::Attribute::Prototypes
$collection = MooseX::Attribute::Prototypes->new();

# Add a prototype
$collection->add_prototype( $prototype );


# Retrieve a prototype from the collections
$collection->get_prototype( from_role => 'MyRole', attribute => 'file' );

# Check if a prototype exists
$collection->exists( from_role => 'MyRole', attribute => 'file' );