| CatalystX::Declare::Keyword::Model - Declare Catalyst Models |
CatalystX::Declare::Keyword::Model - Declare Catalyst Models
use CatalystX::Declare;
model MyApp::Web::Model::Random {
method upto (Int $n) { int(rand $n) }
}
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.
These methods are implementation details. Unless you are extending or developing the CatalystX::Declare manpage, you should not be concerned with them.
List[Str] Object->default_superclasses ()
Defaults to the Catalyst::View manpage.
See AUTHOR in the CatalystX::Declare manpage for author information.
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 |