Moose::Meta::Method::Constructor - Method Meta Object for constructors



NAME

Moose::Meta::Method::Constructor - Method Meta Object for constructors


DESCRIPTION

This class is a subclass of the Class::MOP::Class::Constructor manpage that provides additional Moose-specific functionality

To understand this class, you should read the the the Class::MOP::Class::Constructor manpage documentation as well.


INHERITANCE

Moose::Meta::Method::Constructor is a subclass of the Moose::Meta::Method manpage and the Class::MOP::Method::Constructor manpage.


METHODS

$metamethod-can_be_inlined >>

This returns true if the method can inlined.

First, it looks at all of the parents of the associated class. If any of them have an inlined constructor, then the constructor can be inlined.

If none of them have been inlined, it checks to make sure that the pre-inlining constructor for the class matches the constructor from the expected class.

By default, it expects this constructor come from the Moose::Object manpage, but subclasses can change this expectation.

If the constructor cannot be inlined it warns that this is the case.


AUTHORS

Stevan Little <stevan@iinteractive.com>


COPYRIGHT AND LICENSE

Copyright 2006-2009 by Infinity Interactive, Inc.

http://www.iinteractive.com

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

 Moose::Meta::Method::Constructor - Method Meta Object for constructors