public function addRut(string $rut)
    {
        // Before adding a RUT to this instance, we need to separate the number
        // and the verification digit.
        [$this->attributes['num'], $this->attributes['vd']] = $this->separateRut($rut);

        return $this;
    }
public function addRut(string $rut)
    {
        // Before adding a RUT to this instance, we need to separate the number
        // and the verification digit.
        [$this->attributes['num'], $this->attributes['vd']] = $this->separateRut($rut);

        return $this;
    }
public function addRut ( string $ rut ) { // Before adding a RUT to this instance, we need to separate the number // and the verification digit. [ $ this -> attributes [ 'num' ] , $ this -> attributes [ 'vd' ] ] = $ this -> separateRut ( $ rut ) ; return $ this ; }
Adds a RUT to the instance

@param string $rut
@return $this
@throws InvalidRutException
Adds a RUT to the instance