src/Str.php
public function prepend(string $string): self
    {
        return new self($string.(string) $this, $this->encoding);
    }
public function prepend(string $string): self
    {
        return new self($string.(string) $this, $this->encoding);
    }
public function prepend ( string $ string ) : self { return new self ( $ string . ( string ) $ this , $ this -> encoding ) ; }
Prepend a string at the beginning of the current one

@param string $string

@return self
Prepend a string at the beginning of the current one