| 1 | package MooseX::Attribute::Prototype::Meta::Attribute::Trait::Prototype; | ||
| 2 | |||
| 3 | use Moose::Role; | ||
| 4 | |||
| 5 | has prototype => ( | ||
| 6 | is => 'ro' , | ||
| 7 | isa => 'Str' , | ||
| 8 | predicate => 'has_prototype' , | ||
| 9 | required => 0 , | ||
| 10 | ); | ||
| 11 | |||
| 12 | 1; | ||
| 13 | |||
| 14 | |||
| 15 | package Moose::Meta::Attribute::Custom::Trait::Prototype; | ||
| 16 | |||
| 17 | sub register_implementation {'MooseX::Attribute::Prototype::Meta::Attribute::Trait::Prototype'} | ||
| 18 | |||
| 19 | 1; |