NAME

Bolts::Injector::Parameter::ByName - Inject parameters by name during construction

VERSION

version 0.143171

SYNOPSIS

    use Bolts;

    artifact thing => (
        class => 'MyApp::Thing',
        parameters => {
            foo => dep('other_thing'),
        },
    );

DESCRIPTION

Inject parameters by name during construction.

ROLES

ATTRIBUTES

name

This is the name of the parameter to set in the call to the constructor.

METHODS

pre_inject_value

Performs the pre-injection by named parameter.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

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.