public TranslatableMarkup::__sleep()
Magic __sleep() method to avoid serializing the string translator.
File
- core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 212
Class
- TranslatableMarkup
- Provides translatable markup class.
Namespace
Drupal\Core\StringTranslation
Code
public function __sleep() { return array('string', 'arguments', 'options'); }
Please login to continue.