Add types::structured, as we need a calling convention.. Add namespace::autoclean...
[catagits/CatalystX-DynamicComponent.git] / lib / SomeModelClass.pm
CommitLineData
7d26c84b 1package SomeModelClass;
2use Moose;
3use namespace::clean -except => 'meta';
4
5# Note trivial calling convention.
6# Apply MX::Method::Signatures and MX::Types::Structured to be less lame.
7
8# Introspection should only reflect methods which satisfy the calling convention
9# This is left as an exercise to the reader. :)
10
11sub say_hello {
12 my ($self, $name) = @_;
13 return("Hello $name");
14}
15
16__PACKAGE__->meta->make_immutable;
17