AbstractRepositoryInterface =========================== * Published: 2019-07-02 * Author: Nickolas Burr .. contents:: Table of Contents :local: Related ------- * :doc:`AbstractRepository` * :doc:`AbstractRepositoryTrait` Description ----------- All repository interfaces share common method signatures. For example, any repository interface will have a ``getList`` method that accepts an instance of ``SearchCriteriaInterface`` [#ref1]_ and returns an instance of ``SearchResultsInterface`` [#ref2]_, per the Magento repository design pattern. As such, it makes sense to reduce duplication by creating an abstract repository interface that isn't implemented directly, but is extended through entity-specific repository interfaces. Usage ----- .. code-block:: php