taskContext = $taskContext; $this->testSuite = $testSuite; $this->tasks = $tasks; } public function getTaskContext(): ContextInterface { return $this->taskContext; } public function skipSuccessOutput(): bool { return $this->skipSuccessOutput; } public function setSkipSuccessOutput(bool $skipSuccessOutput): void { $this->skipSuccessOutput = $skipSuccessOutput; } public function hasTestSuite(): bool { return null !== $this->testSuite; } public function getTestSuite(): ?TestSuiteInterface { return $this->testSuite; } public function setTestSuite(?TestSuiteInterface $testSuite): void { $this->testSuite = $testSuite; } /** * @return string[] */ public function getTasks(): array { return $this->tasks; } public function hasTasks(): bool { return !empty($this->tasks); } }