コード例 #1
0
ファイル: String.php プロジェクト: Viacomino/sutra
 /**
  * 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));
 }