* @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ class Validator { const NULLIFY = 'nullify'; const RESTRICT = 'restrict'; /** * List of actions which are valid as integrity check * * @var array */ private $integrityActions = array( self::RESTRICT, self::NULLIFY ); /** * Returns a list of available integrity actions * * @return array */ public function getIntegrityActions() { return $this->integrityActions; } }