libs/Parser/Node/TagNode.php
public function open():string
	{
		if( isset($this->config['opener']) )
			{ return $this->config['opener']; }

		$this->parsePrivateAttributes();
		$this->parseCommonAttributes();

		if( isset($this->config['in_scope']) && isset($this->config['scope_function']) && is_callable($this->config['scope_function']) )
			{ $this->config['scope_function']->call($this,$this->document->scope); }

		$finisher= $this->isEmpty ? ' />' : '>';

		return "<{$this->tagName}{$this->attributesString}{$finisher}";
	}
public function open():string
	{
		if( isset($this->config['opener']) )
			{ return $this->config['opener']; }

		$this->parsePrivateAttributes();
		$this->parseCommonAttributes();

		if( isset($this->config['in_scope']) && isset($this->config['scope_function']) && is_callable($this->config['scope_function']) )
			{ $this->config['scope_function']->call($this,$this->document->scope); }

		$finisher= $this->isEmpty ? ' />' : '>';

		return "<{$this->tagName}{$this->attributesString}{$finisher}";
	}
public function open ( ) : string { if ( isset ( $ this -> config [ 'opener' ] ) ) { return $ this -> config [ 'opener' ] ; } $ this -> parsePrivateAttributes ( ) ; $ this -> parseCommonAttributes ( ) ; if ( isset ( $ this -> config [ 'in_scope' ] ) && isset ( $ this -> config [ 'scope_function' ] ) && is_callable ( $ this -> config [ 'scope_function' ] ) ) { $ this -> config [ 'scope_function' ] -> call ( $ this , $ this -> document -> scope ) ; } $ finisher = $ this -> isEmpty ? ' />' : '>' ; return "<{$this->tagName}{$this->attributesString}{$finisher}" ; }
Opening this tag node, and returning node opener.

@access public

@return string
Opening this tag node and returning node opener .