How do you resolve the exception?

Posted by: Pdfprep Category: AD0-E703 Tags: , ,

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

Your email address will not be published.