Waitable.php in TMGMT Translator Smartling 8.2
Same filename in this branch
Same filename and directory in other branches
Namespace
SmartlingFile
vendor/smartling/api-sdk-php/src/Waitable.phpView source
<?php
namespace Smartling;
use Smartling\Exceptions\SmartlingApiException;
/**
* Interface Waitable
* @package Smartling
*/
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);
}