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

Breadcrumb

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

function Description::__construct

Initializes a Description with its body (template) and a listing of the tags used in the body template.

Parameters

Tag[] $tags:

File

vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php, line 65

Class

Description
Object representing to description for a DocBlock.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function __construct(string $bodyTemplate, array $tags = []) {
    $this->bodyTemplate = $bodyTemplate;
    $this->tags = $tags;
}

API Navigation

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