NAME

Bread::Board::Declare::Meta::Role::Attribute - attribute metarole for Bread::Board::Declare

VERSION

version 0.05

DESCRIPTION

This role adds functionality to the attribute metaclass for Bread::Board::Declare objects.

ATTRIBUTES

service

Whether or not to create a service for this attribute. Defaults to true.

block

The block to use when creating a Bread::Board::BlockInjection service.

literal_value

The value to use when creating a Bread::Board::Literal service. Note that the parameter that should be passed to has is value.

lifecycle

The lifecycle to use when creating the service. See Bread::Board::Service and Bread::Board::LifeCycle.

dependencies

The dependency specification to use when creating the service. See Bread::Board::Service::WithDependencies.

constructor_name

The constructor name to use when creating Bread::Board::ConstructorInjection services. Defaults to new.

associated_service

The service object that is associated with this attribute.

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Jesse Luehrs <doy at tozt dot net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jesse Luehrs.

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