private function LingotekComment::__construct in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.2 lib/Drupal/lingotek/LingotekComment.php \LingotekComment::__construct()
- 7.3 lib/Drupal/lingotek/LingotekComment.php \LingotekComment::__construct()
Constructor.
This is private since we want consumers to instantiate via the factory methods.
Parameters
$document_id: A Lingotek Document ID.
File
- lib/
Drupal/ lingotek/ LingotekComment.php, line 44 - Defines LingotekComment.
Class
- LingotekComment
- A class wrapper for Lingotek-specific behavior on Comments.
Code
private function __construct($comment) {
$this->comment = $comment;
}