public function string($string, $singleLine = false)
    {
        $string = sprintf('"%s"', addcslashes($string, "\0\t\"\$\\"));

        if ($singleLine === true) {
            $string = preg_replace('/\n/', '\n', $string);
        }

        $this->source .= $string;

        return $this;
    }