package CW::Layout; use Moo; use Types::Standard qw(HashRef InstanceOf); has template => ( is => 'ro', required => 1, isa => InstanceOf ['CW::Template'] ); has ctx => ( is => 'ro', required => 1, isa => HashRef ); 1;