MooseX::Types::TypeDecorator - Wraps Moose::Meta::TypeConstraint objects with added features


MooseX-Types documentation  | view source Contained in the MooseX-Types distribution.

Index


NAME

Top

MooseX::Types::TypeDecorator - Wraps Moose::Meta::TypeConstraint objects with added features

VERSION

Top

version 0.27

DESCRIPTION

Top

This is a decorator object that contains an underlying type constraint. We use this to control access to the type constraint and to add some features.

METHODS

Top

This class defines the following methods.

new

Old school instantiation

__type_constraint ($type_constraint)

Set/Get the type_constraint.

isa

handle $self->isa since AUTOLOAD can't.

can

handle $self->can since AUTOLOAD can't.

meta

have meta examine the underlying type constraints

_throw_error

properly delegate error messages

DESTROY

We might need it later

AUTOLOAD

Delegate to the decorator target.

LICENSE

Top

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

AUTHOR

Top

Robert "phaylon" Sedlacek <rs@474.at>

COPYRIGHT AND LICENSE

Top


MooseX-Types documentation  | view source Contained in the MooseX-Types distribution.