You are here

interface Waitable in TMGMT Translator Smartling 8.2

Same name in this branch
  1. 8.2 api-sdk-php/src/Waitable.php \Smartling\Waitable
  2. 8.2 vendor/smartling/api-sdk-php/src/Waitable.php \Smartling\Waitable
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Waitable.php \Smartling\Waitable
  2. 8.3 vendor/smartling/api-sdk-php/src/Waitable.php \Smartling\Waitable

Interface Waitable @package Smartling

Hierarchy

Expanded class hierarchy of Waitable

All classes that implement Waitable

2 files declare their use of Waitable
ContextApi.php in api-sdk-php/src/Context/ContextApi.php
ContextApi.php in vendor/smartling/api-sdk-php/src/Context/ContextApi.php

File

api-sdk-php/src/Waitable.php, line 11

Namespace

Smartling
View source
interface Waitable {

  /**
   * Sets timeout.
   *
   * @param int $syncTimeOut
   * @return mixed
   */
  public function setTimeOut($syncTimeOut);

  /**
   * Returns timeout.
   *
   * @return int
   */
  public function getTimeOut();

  /**
   * Makes async operation sync.
   *
   * @param array $data
   * @throws SmartlingApiException
   */
  public function wait(array $data);

}

Members

Namesort descending Modifiers Type Description Overrides
Waitable::getTimeOut public function Returns timeout.
Waitable::setTimeOut public function Sets timeout.
Waitable::wait public function Makes async operation sync.