Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InlineHTML.php

class InlineHTML

Hierarchy

  • class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
    • class \PhpParser\Node\Stmt extends \PhpParser\NodeAbstract
      • class \PhpParser\Node\Stmt\InlineHTML extends \PhpParser\Node\Stmt

Expanded class hierarchy of InlineHTML

File

vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php, line 7

Namespace

PhpParser\Node\Stmt
View source
class InlineHTML extends Stmt {
    
    /** @var string String */
    public string $value;
    
    /**
     * Constructs an inline HTML node.
     *
     * @param string $value String
     * @param array<string, mixed> $attributes Additional attributes
     */
    public function __construct(string $value, array $attributes = []) {
        $this->attributes = $attributes;
        $this->value = $value;
    }
    public function getSubNodeNames() : array {
        return [
            'value',
        ];
    }
    public function getType() : string {
        return 'Stmt_InlineHTML';
    }

}

Members

Title Sort descending Modifiers Object type Summary
InlineHTML::$value public property @var string String
InlineHTML::getSubNodeNames public function
InlineHTML::getType public function
InlineHTML::__construct public function Constructs an inline HTML node.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal