You are here

interface Waitable in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Waitable.php \Smartling\Waitable
  2. 8.2 api-sdk-php/src/Waitable.php \Smartling\Waitable
  3. 8.2 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

1 file declares its use of Waitable
ContextApi.php in vendor/smartling/api-sdk-php/src/Context/ContextApi.php

File

vendor/smartling/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. 1