/** * 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 pad($padLength, $padStr = '') { return new static(static::$helper->pad($this->string, $padLength, $padStr)); }