NAME

MooseX::Attribute::Prototype::Collection - Container class for MooseX::Attribute::Prototype::Object

VERSION

0.10 - Released 2009-07-18

SYNOPSIS

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

  # Add a MooseX::Attribute::Prototype::Object
    $collection->add_prototype( $prototype );

  # Retrieve a prototype from the collections
    $collection->get( 'MyRole/attr' );
    
  # Check if a prototype exists
    $collection->exists( 'MyRole/attr' );

DESCRIPTION

This class is used internally by MooseX::Attribute::Prototype it serves as a container for holding the prototype objects. There is (as of yet) little reason to use this class directly.

SEE ALSO

MooseX::Attribute::Prototype,

MooseX::Attribute::Prototype::Meta,

MooseX::Attribute::Prototype::Object,

Moose

MooseX::Role::Parameterized

MooseX::Types

AUTHOR

Christopher Brown, <ctbrown at cpan.org>

BUGS

Please report any bugs or feature requests to bug-moosex-attribute-prototype at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Attribute-Prototype. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc MooseX::Attribute::Prototype

You can also look for information at:

ACKNOWLEDGEMENTS

Though they would probably cringe to hear it, this effort would not have been possible without:

Shawn Moore

David Rolsky

Thomas Doran

Stevan Little

COPYRIGHT & LICENSE

Copyright 2009 Christopher Brown and Open Data Group http://opendatagroup.com.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.