php/Tag.php
public function ensureInfusableId() {
		$this->setInfusable( true );
		if ( $this->getAttribute( 'id' ) === null ) {
			$this->setAttributes( [ 'id' => self::generateElementId() ] );
		}
		return $this;
	}
public function ensureInfusableId() {
		$this->setInfusable( true );
		if ( $this->getAttribute( 'id' ) === null ) {
			$this->setAttributes( [ 'id' => self::generateElementId() ] );
		}
		return $this;
	}
public function ensureInfusableId ( ) { $ this -> setInfusable ( true ) ; if ( $ this -> getAttribute ( 'id' ) === null ) { $ this -> setAttributes ( [ 'id' => self :: generateElementId ( ) ] ) ; } return $ this ; }
Ensure that this given Tag is infusable and has a unique `id`
attribute.
@return $this
Ensure that this given Tag is infusable and has a unique id attribute .