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

Breadcrumb

  1. Drupal Core 11.1.x

Comment.php

Same filename in this branch
  1. 11.1.x vendor/egulias/email-validator/src/Parser/Comment.php
  2. 11.1.x vendor/egulias/email-validator/src/Warning/Comment.php
  3. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Comment.php
  4. 11.1.x vendor/squizlabs/php_codesniffer/src/Tokenizers/Comment.php
  5. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php
  6. 11.1.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
  7. 11.1.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
  8. 11.1.x core/modules/comment/src/Plugin/views/wizard/Comment.php
  9. 11.1.x core/modules/comment/src/Entity/Comment.php

Namespace

SlevomatCodingStandard\Helpers

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/Comment.php

View source
<?php

declare (strict_types=1);
namespace SlevomatCodingStandard\Helpers;


/**
 * @internal
 */
class Comment {
    
    /** @var int */
    private $pointer;
    
    /** @var string */
    private $content;
    public function __construct(int $pointer, string $content) {
        $this->pointer = $pointer;
        $this->content = $content;
    }
    public function getPointer() : int {
        return $this->pointer;
    }
    public function getContent() : string {
        return $this->content;
    }

}

Classes

Title Deprecated Summary
Comment @internal

API Navigation

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