src/Buffer.php
public function unget($data)
    {
        if (!is_string($data)) {
            throw new \InvalidArgumentException();
        }

        $this->data = $data . $this->data;
        return $this;
    }
public function unget($data)
    {
        if (!is_string($data)) {
            throw new \InvalidArgumentException();
        }

        $this->data = $data . $this->data;
        return $this;
    }
public function unget ( $ data ) { if ( ! is_string ( $ data ) ) { throw new \ InvalidArgumentException ( ) ; } $ this -> data = $ data . $ this -> data ; return $ this ; }
Prepend data to the beginning of the buffer.

\param string $data
Data to prepend.

\retval Buffer
Returns this buffer.
Prepend data to the beginning of the buffer .