++ed by:
JEVIN

1 PAUSE user

Guillermo Roditi
and 1 contributors

NAME

MooseX::TypeMap::Entry - A type-constraint-to-data map entry

SYNOPSIS

    use MooseX::Types::Moose qw(Num);

    MooseX::TypeMap::Entry->new(
       data => 'number',
       type_constraint => Num,
    );

ATTRIBUTES

data

An optional read-only value of any kind.

The following methods are associated with this attribute:

data - reader

type_constraint

A required, read-only Moose::Meta::TypeConstraint.

The following methods are associated with this attribute:

type_constraint - reader

METHODS

new

arguments: \%arguments
return value: $object_instance

Constructor. Accepts the following keys: data, type_constraint.

AUTHORS, COPYRIGHT AND LICENSE

Please see MooseX::TyeMap