protected function ToStringTrait::_die in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Utility/ToStringTrait.php \Drupal\Component\Utility\ToStringTrait::_die()
For test purposes, wrap die() in an overridable method.
1 call to ToStringTrait::_die()
- ToStringTrait::__toString in lib/
Drupal/ Component/ Utility/ ToStringTrait.php - Implements the magic __toString() method.
File
- lib/
Drupal/ Component/ Utility/ ToStringTrait.php, line 36 - Contains \Drupal\Component\Utility\ToStringTrait.
Class
- ToStringTrait
- Wraps __toString in a trait to avoid some fatals.
Namespace
Drupal\Component\UtilityCode
protected function _die() {
die;
}