DOKK / manpages / debian 12 / libbread-board-perl / Bread::Board::Service::WithClass.3pm.en
Bread::Board::Service::WithClass(3pm) User Contributed Perl Documentation Bread::Board::Service::WithClass(3pm)

Bread::Board::Service::WithClass - role for services returning instances of a given class

version 0.37

This a sub-role of Bread::Board::Service for services that return instances of a given class.

Read/write string attribute, the name of the class that this service will probably instantiate.

Predicate for the "class" attribute, true if it has been set.

This role adds a "before" modifier to the "get" method, ensuring that the module implementing the "class" is loaded.

Stevan Little <stevan@iinteractive.com>

Please report any bugs or feature requests on the bugtracker website https://github.com/stevan/BreadBoard/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

This software is copyright (c) 2019, 2017, 2016, 2015, 2014, 2013, 2011, 2009 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-12-12 perl v5.36.0