| Current Path : /srv/web/sites/trentinoplant.it/httpdocs/vendor/magento/module-sales/Model/ |
| Current File : /srv/web/sites/trentinoplant.it/httpdocs/vendor/magento/module-sales/Model/ValidatorInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sales\Model;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Sales\Exception\DocumentValidationException;
/**
* Interface ValidatorInterface
* @api
*/
interface ValidatorInterface
{
/**
* @param object $entity
* @return \Magento\Framework\Phrase[]
* @throws DocumentValidationException
* @throws NoSuchEntityException
*/
public function validate($entity);
}