DOKK / manpages / debian 12 / libur-perl / UR::Role::Instance.3pm.en
UR::Role::Instance(3pm) User Contributed Perl Documentation UR::Role::Instance(3pm)

UR::Role::Instance - Represents a role composed with a class with a set of params

When a class composes one or more roles, the role names given in the class description are converted to UR::Role::Instance objects as the class is constructed. These are returned by the class' "roles()" method.

Returns the name of the role
Returns the name of the class composing the role
Returns a hashref of role params used when the class composed the role

UR::Role, UR::Role::Prototype

2022-01-17 perl v5.32.1