$content could be passed as second argument.
760800
public function create($root, $attrs, $content = null)
    {
        $this->_buffer .= '<'.$root;
        
        if (!is_array($attrs)) {
            $content = $attrs;
            $attrs = [];
        }
        
        if ($attrs) {
            $attrs_str = [];
            foreach ($attrs as $name => $val)
                $attrs_str[] = $name . '="'.htmlspecialchars($val).'"';
            $this->_buffer .= ' ' . implode(' ', $attrs_str);
        }
        
        if (!$content) {
            $this->_buffer .= ' />';
        } else {
            $this->_buffer .= ">";
            
            if (is_string($content))
                $this->_buffer .= $content;
            elseif ($content instanceof \Closure)
                $this->_buffer .= $content();
            else
                throw new Exception\InvalidArgumentException(
                    sprintf('Expecting Closure or string as third argument, %s passed.', gettype($content))
                );
            
            $this->_buffer .= '</'.$root.'>';
        }
    }
487102
private function setContent($content)
    {
        if (strpos($content, 'file://') === 0) {
            $content = $this->readFile($content);
        }

        $this->content = $content;
    }
653027
protected function checkContent()
    {
        if (is_array($this->content) && count($this->content)) {
            foreach ($this->content as $name => $value) {
                switch ($name) {
                    case 'category':
                    case 'mainMessage':
                    case 'buttonMessage':
                    case 'language':
                        $this->addContentOption($name, $value);
                        break;
                    case 'mainParams':
                    case 'buttonParams':
                        $this->addParamsOption($name, $value);
                        break;
                }
            }
        }
    }
1353722
function prettify(content, withSpaces = true) {
	const replaceValue = withSpaces ? ' = ' : '=';
	return `${content}\n`.replace(/\s*=\s*/g, replaceValue);
}
518632
public function append($content = null)
        {
            if (null === $content) {
                return;
            } else if (is_array($content)) {
                foreach ($content as $row) {
                    $this->content[] = $row;
                }
            } else {
                $this->content[] = $content;
            }
            return $this;
        }
347687
function th($colName, $content) {
    $this->tsection->th($this->rowName, $colName, $content);
    return $this;
  }
638921
public function appendContent($content)
    {
        if (!empty($content)) {
            if (is_array($this->content)) {
                $this->content[] = $content;
            } else {
                $this->content .= $content;
            }
        }
        return $this;
    }
808440
public function injectTemplateContent($content, $params)
    {
        return str_replace(
            array(
                '%__ERROR_TYPE__%',
                '%__ERROR_REFERENCE__%',
                '%__ERROR_MESSAGE__%',
                '%__ERROR_FILE__%',
                '%__ERROR_LINE__%'
            ),
            array_map('addslashes',array(
                $params['type'],
                $params['reference'],
                $params['message'],
                $params['file'],
                $params['line']
            )),
            $content
        );
    }
186592
public function handle(?string $content = null): string
    {
        return trim((string) preg_replace('/\s+/', ' ', $this->ipsum));
    }
36405
public function setContent(array $content, $replace = false)
    {
        if ($replace) {
            $this->content = $content;
        } else {
            foreach ($content as $key => $value) {
                $this->content[$key] = $value;
            }
        }

        return $this;
    }
336239
public function content($arg=null)
	{
		switch($this->format)
		{
			case 'json':
				if(!isset($arg))
				{
					$arg = false;
				}
				return $this->json($arg);
				break;
			case 'xml' :
				if(!isset($arg))
				{
					$arg = 'dom';
				}
				return $this->xml($arg);
				break;
			default :
				return $this->getContent();
				break;
		}
	}
104853
public function contentTag($name, $content, array $options = array(), $escape = false)
    {
        if ($content instanceof \Closure) {
            ob_start();
            $tmpContent = $content();
            $content = ob_get_clean();
            if ($tmpContent !== null) {
                $content = $tmpContent;
                unset($tmpContent);
            }
        }
        return $this->_content_tag_string($name, $content, $options, $escape);
    }
652469
public function setContent(string $content): void {
		
		// there's two options here:  that the concatenation of $this->root_path
		// and $content is a file and we pass that to our view or that it isn't
		// and we pass the $content argument to the view directly assuming that
		// it's a string of content.
		
		$temp = $this->root_path . DIRECTORY_SEPARATOR . $content;
		$this->view->setContent(is_file($temp) ? $temp : $content);
	}
939392
function (content) {
            return content.split('\\').join("\\\\").split("\n").join("\\n").split('"').join('\\"').split("\t").join("\\t");
        }
381079
function expandImplicitContent( attribs ) {
    try {
        if ( !attribs ) return;
        if ( typeof attribs.implicit === 'undefined' ) return;
        const implicitContent = attribs.implicit[ 1 ];
        if ( typeof implicitContent === 'undefined' ) return;

        const explicitContent = attribs.standard ? attribs.standard.content : undefined;
        if ( explicitContent ) {
            throw "Can't mix implicit and explicit `content`:\n" +
                "    implicit: " + limitJson( implicitContent ) + "\n" +
                "    explicit: " + limitJson( explicitContent );
        }

        attribs.standard.content = implicitContent;
    } catch ( ex ) {
        throw ex + "\n...in expandImplicitContent: " + limitJson( attribs );
    }
}
1171154
public function setContent($v)
    {
        if (null !== $v)
        {
            $v = trim($v);
        }

        return parent::setContent($v);
    }
187932
def nest(*content):
    """"""
    if len(content) == 0:
        raise ValueError('no arguments supplied')
    return And([LPF, content[0]] + list(itt.chain.from_iterable(zip(itt.repeat(C), content[1:]))) + [RPF])