src/Str.php
public function repeat(int $repeat): self
    {
        return new self(\str_repeat($this->value, $repeat), $this->encoding);
    }
public function repeat(int $repeat): self
    {
        return new self(\str_repeat($this->value, $repeat), $this->encoding);
    }
public function repeat ( int $ repeat ) : self { return new self ( \ str_repeat ( $ this -> value , $ repeat ) , $ this -> encoding ) ; }
Repeat the string n times

@param int $repeat

@return self
Repeat the string n times