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

Breadcrumb

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

function Comment::__construct

Same name in this branch
  1. 11.1.x vendor/egulias/email-validator/src/Warning/Comment.php \Egulias\EmailValidator\Warning\Comment::__construct()
  2. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Comment.php \PhpParser\Comment::__construct()
  3. 11.1.x vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/Comment.php \SlevomatCodingStandard\Helpers\Comment::__construct()

Overrides PartParser::__construct

File

vendor/egulias/email-validator/src/Parser/Comment.php, line 26

Class

Comment

Namespace

Egulias\EmailValidator\Parser

Code

public function __construct(EmailLexer $lexer, CommentStrategy $commentStrategy) {
    $this->lexer = $lexer;
    $this->commentStrategy = $commentStrategy;
}
RSS feed
Powered by Drupal