big kahuna
This commit is contained in:
18
lib/CW/Layout.pm
Normal file
18
lib/CW/Layout.pm
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user