abstract public function ToStringTrait::render in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Utility/ToStringTrait.php \Drupal\Component\Utility\ToStringTrait::render()
Renders the object as a string.
Return value
string|object The rendered string or an object implementing __toString().
1 call to ToStringTrait::render()
- ToStringTrait::__toString in lib/
Drupal/ Component/ Utility/ ToStringTrait.php - Implements the magic __toString() method.
1 method overrides ToStringTrait::render()
- DateTimePlus::render in lib/
Drupal/ Component/ Datetime/ DateTimePlus.php - Renders the timezone name.
File
- lib/
Drupal/ Component/ Utility/ ToStringTrait.php, line 46 - Contains \Drupal\Component\Utility\ToStringTrait.
Class
- ToStringTrait
- Wraps __toString in a trait to avoid some fatals.
Namespace
Drupal\Component\UtilityCode
public abstract function render();