/** * Left pads the string to the number of characters specified. * * @param integer $padLength The character length to pad. * @param string $padStr The string to pad with. * * @return String The padded string. */ public function padRight($padLength, $padStr = '') { return new static(static::$helper->padRight($this->string, $padLength, $padStr)); }