public static function padLeft(string $string, int $length, string $filler = ' '): string
    {
        while (self::length($string) <= ($length - self::length($filler))) {
            $string = $filler . $string;
        }
        return $string;
    }
public static function padLeft(string $string, int $length, string $filler = ' '): string
    {
        while (self::length($string) <= ($length - self::length($filler))) {
            $string = $filler . $string;
        }
        return $string;
    }
public static function padLeft ( string $ string , int $ length , string $ filler = ' ' ) : string { while ( self :: length ( $ string ) <= ( $ length - self :: length ( $ filler ) ) ) { $ string = $ filler . $ string ; } return $ string ; }
Pad left.

@param string $string
@param int $length
@param string $filler Default ' '.
@return string
Pad left .