Posted by: Pdfprep
Post Date: December 16, 2020
You need to find all orders in the processing state. You have written the code:
How do you resolve the exception?
A . Use dependency injection to load an instance of the SearchCriteria class
B . Change the getList parameter to: $searchCriteraBuilder->addFilter(‘state’,’processing’)->create()
C . Clear generated code to get a new version of SearchCriteriaBuilder
D . Specify a preference in di.xml to map SearchCriteriaBuilder to SearchCriteriaInterface
Answer: B
Leave a Reply