class Warning
Same name in this branch
- 11.1.x vendor/phpunit/phpunit/src/Framework/TestStatus/Warning.php \PHPUnit\Framework\TestStatus\Warning
Hierarchy
- class \Egulias\EmailValidator\Warning\Warning
Expanded class hierarchy of Warning
7 files declare their use of Warning
- CommentStrategy.php in vendor/
egulias/ email-validator/ src/ Parser/ CommentStrategy/ CommentStrategy.php - DNSCheckValidation.php in vendor/
egulias/ email-validator/ src/ Validation/ DNSCheckValidation.php - EmailValidation.php in vendor/
egulias/ email-validator/ src/ Validation/ EmailValidation.php - MessageIDValidation.php in vendor/
egulias/ email-validator/ src/ Validation/ MessageIDValidation.php - MultipleValidationWithAnd.php in vendor/
egulias/ email-validator/ src/ Validation/ MultipleValidationWithAnd.php
32 string references to 'Warning'
- AddFormBase::updateLibrary in core/
modules/ media_library/ src/ Form/ AddFormBase.php - AJAX callback to send the new media item(s) to the media library.
- Auditor::audit in vendor/
composer/ composer/ src/ Composer/ Advisory/ Auditor.php - drupal_error_levels in core/
includes/ errors.inc - Maps PHP error constants to watchdog severity levels.
- File::addMessage in vendor/
squizlabs/ php_codesniffer/ src/ Files/ File.php - Adds an error to the error stack.
- File::renderSourceWithBranchCoverage in vendor/
phpunit/ php-code-coverage/ src/ Report/ Html/ Renderer/ File.php
File
-
vendor/
egulias/ email-validator/ src/ Warning/ Warning.php, line 5
Namespace
Egulias\EmailValidator\WarningView source
abstract class Warning {
/**
* @var int CODE
*/
public const CODE = 0;
/**
* @var string
*/
protected $message = '';
/**
* @var int
*/
protected $rfcNumber = 0;
/**
* @return string
*/
public function message() {
return $this->message;
}
/**
* @return int
*/
public function code() {
return self::CODE;
}
/**
* @return int
*/
public function RFCNumber() {
return $this->rfcNumber;
}
/**
* @return string
*/
public function __toString() : string {
return $this->message() . " rfc: " . $this->rfcNumber . "internal code: " . static::CODE;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
Warning::$message | protected | property | ||
Warning::$rfcNumber | protected | property | ||
Warning::CODE | public | constant | 20 | |
Warning::code | public | function | 20 | |
Warning::message | public | function | ||
Warning::RFCNumber | public | function | ||
Warning::__toString | public | function |