CatalystX::Declare::Keyword::Model - Declare Catalyst Models


NAME

CatalystX::Declare::Keyword::Model - Declare Catalyst Models


SYNOPSIS

    use CatalystX::Declare;
    model MyApp::Web::Model::Random {
        method upto (Int $n) { int(rand $n) }
            }


DESCRIPTION

This handler is a simple extension of the CatalystX::Declare::Keyword::Component manpage and defaults to the Catalyst::Model manpage as superclass. Additionally, CLASS will be imported. See class in the MooseX::Declare manpage for more information on usage, since this keyword is subclass extending its parent's features.


SUPERCLASSES

the CatalystX::Declare::Keyword::Component manpage


METHODS

These methods are implementation details. Unless you are extending or developing the CatalystX::Declare manpage, you should not be concerned with them.

default_superclasses

    List[Str] Object->default_superclasses ()

Defaults to the Catalyst::View manpage.


SEE ALSO

the CatalystX::Declare manpage
the CatalystX::Declare::Keyword::Component manpage
class in the MooseX::Declare manpage


AUTHOR

See AUTHOR in the CatalystX::Declare manpage for author information.


LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.

 CatalystX::Declare::Keyword::Model - Declare Catalyst Models