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

NAME

Meta::Grapher::Moose::Renderer::Plantuml::Class - Utility class for Meta::Grapher::Moose::Renderer::Plantuml

VERSION

version 1.03

DESCRIPTION

Internal class part of the Meta::Grapher::Moose::Renderer::Plantuml renderer. Represents a package to be rendered.

ATTRIBUTES

This class accepts the following attributes:

id

The id of the package (which is the actual true classname of the package, even if the class is an anonymous class)

Required.

label

The class name we put on the diagram (which might be the true class name or the parameterized class name we create an anonymous class from)

type

The type of the package.

One of the values provided by Meta::Grapher::Moose::Constants: _CLASS, _ROLE, _ANON_ROLE or _P_ROLE

Required.

class_attributes

An arrayref of strings, the name of attributes for the class.

Required.

class_methods

An arrayref of strings, the name of methods for the class.

Required.

formatting

A copy of the formatting attribute from the controlling Meta::Grapher::Moose::Renderer::Plantuml instance that created this instance.

Required.

METHODS

This class provides the following methods:

to_plantuml

Return source code representing this class

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-meta-grapher-moose@rt.cpan.org).

I am also usually active on IRC as 'drolsky' on irc://irc.perl.org.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)