Bolts::Injector::Parameter::ByName - Inject parameters by name during construction
version 0.143171
use Bolts; artifact thing => ( class => 'MyApp::Thing', parameters => { foo => dep('other_thing'), }, );
Inject parameters by name during construction.
Bolts::Injector
This is the name of the parameter to set in the call to the constructor.
Performs the pre-injection by named parameter.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2014 by Qubling Software LLC.
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 Bolts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bolts
CPAN shell
perl -MCPAN -e shell install Bolts
For more information on module installation, please visit the detailed CPAN module installation guide.