opensrs\OMA\ChangeDomain::validate PHP Method

validate() public static method

Valdation rule here
public static validate ( $data )
    public static function validate($data)
    {
        if (empty($data['domain'])) {
            throw new Exception('oSRS Error - Domain required');
        } else {
            return true;
        }
    }
ChangeDomain