1 package Text::Tradition::Collation::Path;
6 ## CAREFUL if we want to use Moose::Util::TypeConstraints. That
7 ## 'from' clashes with Graph::Easy::Edge 'from', so we'll need to
8 ## unimport TypeConstraints after defining the types. Or else we
9 ## would have to finally split out our types into another module.
11 extends 'Graph::Easy::Edge';
13 has 'hidden_witnesses' => (
15 isa => 'ArrayRef[Str]',
16 predicate => 'has_hidden_witnesses'
21 $self->set_attribute( 'class', 'path' );
25 __PACKAGE__->meta->make_immutable;