/
var
/
www
/
html
/
sugardemo
/
src
/
Security
/
Validator
/
Upload File
HOME
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ namespace Sugarcrm\Sugarcrm\Security\Validator; /** * * Validator constraints are used to only validate given values and are reused * during the validation process. In some cases it makes sense that a validator * returns a formatted value to avoid any duplicate operations further down * the logic chain. * * With this interface it is possible to set such value from the validator * back to the constraint. * */ interface ConstraintReturnValueInterface { /** * Get formatted validated return value * @return mixed Formatted return value */ public function getFormattedReturnValue(); /** * Set formatted validated return value * @param mixed $value Formatted return value */ public function setFormattedReturnValue($value); }