https://github.com/preaction/beam-wire-moose
Moose-specific enhancements for Beam::Wire
https://github.com/preaction/beam-wire-moose
Last synced: about 1 year ago
JSON representation
Moose-specific enhancements for Beam::Wire
- Host: GitHub
- URL: https://github.com/preaction/beam-wire-moose
- Owner: preaction
- License: other
- Created: 2013-03-26T00:24:05.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-10-20T05:28:22.000Z (over 10 years ago)
- Last Synced: 2024-04-17T21:16:56.239Z (about 2 years ago)
- Language: Perl
- Size: 191 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: CHANGES
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
=head1 SYNOPSIS
# container.yml
db:
class: My::Database
with:
- My::Role::Cache
- My::Role::Log
args:
dbh: { ref: dbh }
dbh:
class: DBI
args:
- 'dbi:sqlite:data.db'
=head1 DESCRIPTION
Beam::Wire::Moose is a subclass of Beam::Wire that adds support for Moose-specific
features.
=head1 SERVICE CONFIG
=head2 with
Compose roles into this object at run-time. This creates an anonymous class that
extends the C config and consumes the roles defined by C.
NOTE: This means the service is not an instance of C but an instance of
a class that inherits from C. Be cautious when using C and
C.
=head1 SEE ALSO
=over 4
=item L
=back