class SafeMarkupTestString
Hierarchy
- class \Drupal\Tests\Component\Utility\SafeMarkupTestString
Expanded class hierarchy of SafeMarkupTestString
File
-
core/
tests/ Drupal/ Tests/ Component/ Utility/ SafeMarkupTest.php, line 173
Namespace
Drupal\Tests\Component\UtilityView source
class SafeMarkupTestString {
protected $string;
public function __construct($string) {
$this->string = $string;
}
public function __toString() {
return $this->string;
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| SafeMarkupTestString::$string | protected | property | |
| SafeMarkupTestString::__construct | public | function | |
| SafeMarkupTestString::__toString | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.