function DateTimePlus::__toString
Same name and namespace in other branches
- main core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::__toString()
Returns the string representation of this object.
Return value
string The string representation.
File
-
core/
lib/ Drupal/ Component/ Datetime/ DateTimePlus.php, line 687
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\DatetimeCode
public function __toString() : string {
return (string) $this->render();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.