class SafeMarkupTestString

Hierarchy

Expanded class hierarchy of SafeMarkupTestString

File

core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php, line 173

Namespace

Drupal\Tests\Component\Utility
View 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.