public function isSelfclosing()
    {
        if (isset($this->selfclosing)) {
            return (bool) $this->selfclosing;
        }
        if ($this->hasOption('selfQlose')) {
            $this->selfclosing = true;

            return true;
        } elseif ($this->hasOption('doNotSelfQlose')) {
            $this->selfclosing = false;

            return false;
        }

        return in_array($this->realName, TagInfo::$selfClosing);
    }
public function isSelfclosing()
    {
        if (isset($this->selfclosing)) {
            return (bool) $this->selfclosing;
        }
        if ($this->hasOption('selfQlose')) {
            $this->selfclosing = true;

            return true;
        } elseif ($this->hasOption('doNotSelfQlose')) {
            $this->selfclosing = false;

            return false;
        }

        return in_array($this->realName, TagInfo::$selfClosing);
    }
public function isSelfclosing ( ) { if ( isset ( $ this -> selfclosing ) ) { return ( bool ) $ this -> selfclosing ; } if ( $ this -> hasOption ( 'selfQlose' ) ) { $ this -> selfclosing = true ; return true ; } elseif ( $ this -> hasOption ( 'doNotSelfQlose' ) ) { $ this -> selfclosing = false ; return false ; } return in_array ( $ this -> realName , TagInfo :: $ selfClosing ) ; }
Checks if this tag is meant to be self closing.

@return boolean
Checks if this tag is meant to be self closing .