The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CatalystX::Declare::Keyword::Component - Declare Catalyst Components

DESCRIPTION

This handler provides common functionality for all component handlers. Please refer to the respective keyword handler documentation for more information:

CatalystX::Declare::Keyword::Model
CatalystX::Declare::Keyword::View
CatalystX::Declare::Keyword::Controller

SUPERCLASSES

MooseX::Declare::Syntax::Keyword::Class

ROLES

METHODS

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

add_namespace_customizations

    Object->add_namespace_customizations (Object $ctx, Str $package)

This will simply add CLASS to the imported modules, to make CLASS and $CLASS available in the component.

default_superclasses

    List[Str] Object->default_superclasses ()

Returns Catalyst::Component as default superclass for components. The subclasses for other component keywords will usually want to override this.

SEE ALSO

CatalystX::Declare
CatalystX::Declare::Keyword::Model
CatalystX::Declare::Keyword::View
CatalystX::Declare::Keyword::Controller
"class" in MooseX::Declare

AUTHOR

See "AUTHOR" in CatalystX::Declare for author information.

LICENSE

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