NAME

Type::Tiny::Wrapped - a type constraint that has been wrapped with a Type::Tiny::Wrapper

DESCRIPTION

This is a subclass of Type::Tiny used internally by Types::ReadOnly. The API is not considered stable; it may change in response to Type::ReadOnly's needs.

Attributes

It provides the following additional attributes.

wrapper

The Type::Tiny::Wrapper that created this Type::Tiny::Wrapped type constraint. Required.

wrapped

The Type::Tiny object which has been wrapped. This is just an alias for parent really.

pre_check, pre_coerce, post_check, post_coerce, inlined_pre_check, inlined_pre_coerce, inlined_post_check, inlined_post_coerce

Delegated to wrapper.

BUGS

Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Types-ReadOnly.

SEE ALSO

Type::Tiny::Manual, Hash::Util, Const::Fast, MooseX::Types::Ro.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT AND LICENCE

This software is copyright (c) 2013 by Toby Inkster.

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

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.