Comment.php
Same filename in this branch
- 11.1.x vendor/egulias/email-validator/src/Parser/Comment.php
- 11.1.x vendor/egulias/email-validator/src/Warning/Comment.php
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Comment.php
- 11.1.x vendor/squizlabs/php_codesniffer/src/Tokenizers/Comment.php
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php
- 11.1.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
- 11.1.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
- 11.1.x core/modules/comment/src/Plugin/views/wizard/Comment.php
- 11.1.x core/modules/comment/src/Entity/Comment.php
Namespace
SlevomatCodingStandard\HelpersFile
-
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 |