-
Notifications
You must be signed in to change notification settings - Fork 90
Service Contracts
Stanislav Idolov edited this page May 6, 2019
·
11 revisions
Image list interface
interface GetImageListInterface
{
/**
* @param SearchCriteriaInterface $searchCriteria
* @return SearchResultsInterface
*/
public function execute(SearchCriteriaInterface $searchCriteria) : SearchResultsInterface;
}
interface SaveImagePreviewInterface
{
/**
* @param int $mediaId
* @return bool
*/
public function execute(int $mediaId): bool;
}
interface SaveLicensedImageInterface
{
/**
* @param int $mediaId
* @return bool
*/
public function execute(int $mediaId): bool;
}