-
Notifications
You must be signed in to change notification settings - Fork 91
Service Contracts
Stanislav Idolov edited this page May 2, 2019
·
11 revisions
Image list interface
interface ImageListInterface
{
/**
* @param SearchCriteriaInterface $searchCriteria
* @return SearchResultsInterface
*/
public function execute(SearchCriteriaInterface $searchCriteria) : SearchResultsInterface;
}
Parameter interface
interface ParameterInterface
{
/**
* @param $value
* @param StockApiRequest $request
* @return bool
*/
public function execute($value, StockApiRequest $request) : bool;
}
Filter interface
interface FilterInterface
{
/**
* @param $value
* @param StockApiRequest $request
* @return bool
*/
public function execute($value, StockApiRequest $request) : bool;
}