Closed titouanmathis closed 3 years ago
To ease the manipulation of terms, we could extend the Repository class.
class TermRepository extends Repository {}
The Repository::query() method should be able to use different strategy to get the results.
Repository::query()
Maybe the Repository class should be an abstract class that would handle the caching methods and request a do_query method to be implemented?
Repository
do_query
To ease the manipulation of terms, we could extend the Repository class.
The
Repository::query()
method should be able to use different strategy to get the results.Maybe the
Repository
class should be an abstract class that would handle the caching methods and request ado_query
method to be implemented?