trait JobBasedEventTrait in TMGMT Translator Smartling 8.4
Hierarchy
- trait \Drupal\tmgmt_smartling\Event\JobBasedEventTrait
File
- src/
Event/ JobBasedEventTrait.php, line 7
Namespace
Drupal\tmgmt_smartling\EventView source
trait JobBasedEventTrait {
/**
* New TMGMT Job.
*
* @var \Drupal\tmgmt\JobInterface
*/
protected $job;
/**
* Constructs an AfterFileDownloadEvent object.
*
* @param \Drupal\tmgmt\JobInterface $job
* The translation job for the file that was downloaded.
*/
public function __construct(JobInterface $job) {
$this->job = $job;
}
/**
* @inheritdoc
*/
public function getJob() {
return $this->job;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
JobBasedEventTrait:: |
protected | property | New TMGMT Job. | |
JobBasedEventTrait:: |
public | function | @inheritdoc | |
JobBasedEventTrait:: |
public | function | Constructs an AfterFileDownloadEvent object. |