Exam4Training

What class assists in creating an instance for SearchCriteriaInterface?

MagentoSalesModelApiOrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and sort information.

What class assists in creating an instance for SearchCriteriaInterface?
A . MagentoFrameworkApiSearchCriteriaFactory
B . MagentoFrameworkApiSearchCriteriaBuilder
C . MagentoSalesModelOrderSearchCriteria
D . MagentoBackendApiSearchCriteriaGenerator

Answer: B

Explanation:

Reference: https://github.com/magento/magento2/blob/2.3/lib/internal/Magento/Framework/Api/ SearchCriteriaInterface.php

Exit mobile version