src/Str.php
public function uniPad(int $length, string $character = ' '): self
    {
        return $this->pad($length, $character, self::PAD_BOTH);
    }
public function uniPad(int $length, string $character = ' '): self
    {
        return $this->pad($length, $character, self::PAD_BOTH);
    }
public function uniPad ( int $ length , string $ character = ' ' ) : self { return $ this -> pad ( $ length , $ character , self :: PAD_BOTH ) ; }
Pad both sides

@param int $length
@param string $character

@return self
Pad both sides