[Koha-bugs] [Bug 17755] Move C4::Members::AttributeTypes to Koha::* namespace
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Dec 12 18:28:42 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17755
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 58142
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58142&action=edit
Bug 17755: Introduce Koha::Object::Library::Limit
This patch introduces a new class for extending Koha::Object using
multiple inheritance. It cannot be used standalone, it needs to be
used in Koha::Object implementations like this:
use base qw( Koha::Object Koha::Object::Library::Limit );
Its goal is to provide a single way and place to deal with this common
pattern in Koha's codebase.
As it happened with Koha::Object, that needed to be tested in a real object
class, this work was done on top of Koha::Patron::Attribute::Type
implementation
and it is fully covered by the tests that are introduced for it.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list