Example #1
0
 /**
  * Splits the rut into rut and verification number.
  * 
  * Si no le pasas el $dv digito verificador, separa el rut del dígito verificador.
  * Si le pasas el $dv digito verificador te devuelve ambos parámetros como array.
  *
  * @param $rut
  * @param null $dv
  * @return array [$rut,$dv]
  * @static 
  */
 public static function split($rut, $dv = null)
 {
     return \Freshwork\ChileanBundle\Validations\Rut::split($rut, $dv);
 }