public function write($content = '')
    {
        $content = preg_split('/\R/', $content);

        foreach ($content as $line) {
            $this->source .= PHP_EOL.str_repeat('    ', $this->depth).$line;
        }

        return $this;
    }