You are here

private function LingotekComment::__construct in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.2 lib/Drupal/lingotek/LingotekComment.php \LingotekComment::__construct()
  2. 7.4 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;
}