applyPadding
Pad internal helper, adds padding to the left and right of the string.
Description
static applyPadding(int $left, int $right, string $padStr = ' ')
Parameters
-
int $left
Length of left padding. -
int $right
Length of right padding. - string $padStr
String used to pad, default is a space.
Return Value
static
String with padding applied.