You are here

public function LingotekPhase::setApi in Lingotek Translation 7.7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::setApi()
  2. 7.3 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::setApi()
  3. 7.4 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::setApi()
  4. 7.5 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::setApi()
  5. 7.6 lib/Drupal/lingotek/LingotekPhase.php \LingotekPhase::setApi()

Injects reference to an API object.

Parameters

LingotekApi $api: An instantiated Lingotek API object.

File

lib/Drupal/lingotek/LingotekPhase.php, line 35
Defines LingotekPhase.

Class

LingotekPhase
A class representing a Lingotek Workflow Phase.

Code

public function setApi(LingotekApi $api) {
  $this->api = $api;
}