Path-Router

 view release on metacpan or  search on metacpan

lib/Path/Router/Route/Match.pm  view on Meta::CPAN

our $AUTHORITY = 'cpan:STEVAN';
$Path::Router::Route::Match::VERSION = '0.15';
use Types::Standard  1.000005 qw(Str HashRef InstanceOf);

use Moo              2.000001;
use namespace::clean 0.23;
# ABSTRACT: The result of a Path::Router match


has 'path'    => (is => 'ro', isa => Str,     required => 1);
has 'mapping' => (is => 'ro', isa => HashRef, required => 1);

has 'route'   => (
    is       => 'ro',
    isa      => InstanceOf['Path::Router::Route'],
    required => 1,
    handles  => [qw[target]]
);

1;



( run in 0.757 second using v1.01-cache-2.11-cpan-5f2e87ce722 )