public function PoItem::__toString

Output the PoItem as a string.

File

drupal/core/lib/Drupal/Component/Gettext/PoItem.php, line 203
Definition of Drupal\Component\Gettext\PoItem.

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

public function __toString() {
  return $this
    ->formatItem();
}