NAME

Salvation::MacroProcessor::Connector - An object representing interconnection between two classes

REQUIRES

Scalar::Util

Carp::Assert

MooseX::StrictConstructor

Moose

METHODS

name

$object -> name();

Returns string which is the name of this connector.

code

$object -> code();

Returns CodeRef which is the actual connecting code.

associated_meta

$object -> associated_meta();

Returns Moose::Meta::Class or Moose::Meta::Role object instance corresponding to the object which has defined the connector.

previously_associated_meta

$object -> previously_associated_meta();

Returns Moose::Meta::Class or Moose::Meta::Role object instance corresponding to the object which has defined the connector. It is used when child class inherits a connector from its parent and holds the reference to parent's class metaclass.

inherited_connector

$description -> inherited_connector();

Returns Salvation::MacroProcessor::Connector object instance as it has been defined by a parent class if the connector has been inherited.

clone

$object -> clone();

Clones connector, returning new-made clone.

required_shares

$object -> required_shares();

Returns an ArrayRef. Each element is the name of required share.