getArguments(); $this->sleeptime = $arguments[0]; $this->output = $arguments[1]; sleep($this->sleeptime); return true; } /** * @inheritDoc */ public function getOutput() { return $this->output; } /** * @inheritDoc */ public function postHandler(Task $task) { $arguments = $task->getArguments(); $this->sleeptime = $arguments[0]; $this->output = $arguments[1]; sleep($this->sleeptime); return true; } /** * @inheritDoc */ public function getPostOutput() { return $this->output; } }