MooseX::Declare::Syntax::Keyword::Method.3pm

Langue: en

Version: 2009-05-05 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

MooseX::Declare::Syntax::Keyword::Method - Handle method declarations

DESCRIPTION

This role is an extension of MooseX::Declare::Syntax::MethodDeclaration that allows you to install keywords that declare methods.

CONSUMES

MooseX::Declare::Syntax::MethodDeclaration

METHODS

register_method_declaration

   Object->register_method_declaration (ClassName $class, Object $method)
 
 

This method required by the method declaration role will register the finished method object via the $class metaclass instance's "add_method" method.

SEE ALSO

MooseX::Declare
MooseX::Declare::Syntax::MooseSetup
MooseX::Declare::Syntax::MethodDeclaration
MooseX::Method::Signatures
See MooseX::Declare