Example #1
0
 /**
  * Check if RUT has a valid format. If not, throws an Exception
  *
  * @param $rut
  * @param null $dv
  * @throws \Freshwork\ChileanBundle\Exceptions\InvalidFormatException
  * @return bool 
  * @static 
  */
 public static function hasValidFormat($rut, $dv = null)
 {
     return \Freshwork\ChileanBundle\Validations\Rut::hasValidFormat($rut, $dv);
 }