You are here

public function SafeStringInterface::__toString in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Utility/SafeStringInterface.php \Drupal\Component\Utility\SafeStringInterface::__toString()

Returns a safe string.

Return value

string The safe string.

File

lib/Drupal/Component/Utility/SafeStringInterface.php, line 44
Contains \Drupal\Component\Utility\SafeStringInterface.

Class

SafeStringInterface
Marks an object's __toString() method as returning safe markup.

Namespace

Drupal\Component\Utility

Code

public function __toString();