public function pad($pad_length, $pad_string = ' ', $pad_type = STR_PAD_RIGHT)
        {
            $string = $this->get();
            $value = str_pad($string, $pad_length, $pad_string, $pad_type);
            $this->update($value);
            return $this;
        }
public function pad($pad_length, $pad_string = ' ', $pad_type = STR_PAD_RIGHT)
        {
            $string = $this->get();
            $value = str_pad($string, $pad_length, $pad_string, $pad_type);
            $this->update($value);
            return $this;
        }
public function pad ( $ pad_length , $ pad_string = ' ' , $ pad_type = STR_PAD_RIGHT ) { $ string = $ this -> get ( ) ; $ value = str_pad ( $ string , $ pad_length , $ pad_string , $ pad_type ) ; $ this -> update ( $ value ) ; return $ this ; }
Pad a string.

@param int $pad_length
@param string $pad_string
@param int $pad_type
@return \PHY\Variable\Str
Pad a string .