![]() |
![]()
| ![]() |
![]()
NAMEBread::Board::Declare::Meta::Role::Attribute::Service - attribute metarole for service attributes in Bread::Board::Declare VERSIONversion 0.16 DESCRIPTIONThis role adds functionality to the attribute metaclass for Bread::Board::Declare objects. ATTRIBUTESblockThe block to use when creating a Bread::Board::BlockInjection service. literal_valueThe value to use when creating a Bread::Board::Literal service. Note that the parameter that should be passed to "has" is "value". lifecycleThe lifecycle to use when creating the service. See Bread::Board::Service and Bread::Board::LifeCycle. dependenciesThe dependency specification to use when creating the service. See Bread::Board::Service::WithDependencies. parametersThe parameter specification to use when creating the service. See Bread::Board::Service::WithParameters. inferIf 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. constructor_nameThe constructor name to use when creating Bread::Board::ConstructorInjection services. Defaults to "new". associated_serviceThe service object that is associated with this attribute. AUTHORJesse Luehrs <doy@tozt.net> COPYRIGHT AND LICENSEThis software is Copyright (c) 2014 by Jesse Luehrs. This is free software, licensed under: The MIT (X11) License
|