src/Keboola/Orchestrator/OrchestrationTask.php
public function setPhase($value)
	{
		$value = (int) $value;
		if ($value)
			$this->phase = $value;
		else
			$this->phase = null;

		return $this;
	}
public function setPhase($value)
	{
		$value = (int) $value;
		if ($value)
			$this->phase = $value;
		else
			$this->phase = null;

		return $this;
	}
Set task phase

@param int $value
@return $this