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

Breadcrumb

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

function Attribute::__construct

Same name in this branch
  1. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Attribute.php \PhpParser\Node\Attribute::__construct()
  2. 11.1.x core/lib/Drupal/Core/Template/Attribute.php \Drupal\Core\Template\Attribute::__construct()

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/Attribute.php, line 26

Class

Attribute
@internal

Namespace

SlevomatCodingStandard\Helpers

Code

public function __construct(int $attributePointer, string $name, int $startPointer, int $endPointer, ?string $content = null) {
    $this->attributePointer = $attributePointer;
    $this->name = $name;
    $this->startPointer = $startPointer;
    $this->endPointer = $endPointer;
    $this->content = $content;
}

API Navigation

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