Bread::Board::Declare::Meta::Role::Attribute - attribute metarole for Bread::Board::Declare
version 0.08
This role adds functionality to the attribute metaclass for Bread::Board::Declare objects.
Whether or not to create a service for this attribute. Defaults to true.
The block to use when creating a Bread::Board::BlockInjection service.
The value to use when creating a Bread::Board::Literal service. Note that the parameter that should be passed to has is value.
has
value
The lifecycle to use when creating the service. See Bread::Board::Service and Bread::Board::LifeCycle.
The dependency specification to use when creating the service. See Bread::Board::Service::WithDependencies.
If true, the dependency list will be inferred as much as possible from the attributes in the class. See Bread::Board::Manual::Concepts::Typemap for more information. Note that this is only valid for constructor injection services.
The constructor name to use when creating Bread::Board::ConstructorInjection services. Defaults to new.
new
The service object that is associated with this attribute.
Please see those modules/websites for more information related to this module.
Bread::Board::Declare
Jesse Luehrs <doy at tozt dot net>
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.
To install Bread::Board::Declare, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bread::Board::Declare
CPAN shell
perl -MCPAN -e shell install Bread::Board::Declare
For more information on module installation, please visit the detailed CPAN module installation guide.