Moose::Meta::TypeConstraint::Registry - registry for type constraints



NAME

Moose::Meta::TypeConstraint::Registry - registry for type constraints


DESCRIPTION

This module is currently only use internally by the Moose::Util::TypeConstraints manpage. It can be used to create your own private type constraint registry as well, but the details of that are currently left as an exercise to the reader. (One hint: You can use the 'parent_registry' feature to connect your private version with the base Moose registry and base Moose types will automagically be found too).


METHODS

meta
new
get_parent_registry
set_parent_registry ($registry)

=item B<has_parent_registry>
type_constraints
has_type_constraint ($type_name)
get_type_constraint ($type_name)
add_type_constraint ($type)
find_type_constraint ($type_name)


BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.


AUTHOR

Stevan Little <stevan@iinteractive.com>


COPYRIGHT AND LICENSE

Copyright 2006-2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

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

 Moose::Meta::TypeConstraint::Registry - registry for type constraints