Completed
Pull Request — master (#518)
by Michael
03:13
created

DeploynautJob::updateStatus()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 1
nc 1
1
<?php
2
3
abstract class DeploynautJob implements DeploynautJobInterface {
4
5
	/**
6
	 * {@inheritdoc}
7
	 */
8
	public function onFailure(Exception $exception) {
9
		$this->updateStatus('Failed');
10
	}
11
12
	abstract protected function updateStatus($status);
13
14
}
15