/** * @param string $value * @param int $stackLevel [optional] * @return void * @throws \Exception */ public static function assertValueIsIso2($value, $stackLevel = 0) { self::validateValue(\Df\Zf\Validate\StringT\Iso2::s(), $value, $stackLevel + 1); }
/** * @param mixed $v * @return bool */ function df_check_iso2($v) { return \Df\Zf\Validate\StringT\Iso2::s()->isValid($v); }