public function pad($num, $char = '0', $dir = STR_PAD_LEFT)
    {
        $this->value = str_pad($this->value(), $num, $char, $dir);

        return $this;
    }
public function pad($num, $char = '0', $dir = STR_PAD_LEFT)
    {
        $this->value = str_pad($this->value(), $num, $char, $dir);

        return $this;
    }
public function pad ( $ num , $ char = '0' , $ dir = STR_PAD_LEFT ) { $ this -> value = str_pad ( $ this -> value ( ) , $ num , $ char , $ dir ) ; return $ this ; }
Aplicar PAD.

@param $num
@param string $char
@param int $dir
@return $this
Aplicar PAD .