protected function sync() { $this->server->transformTubeStatusTo($this->getTubeStatus(), TubeStatus::TRANSFORM_USE); }
/** * @return JobOath * @throws Exception\InvalidArgumentException */ public function reserveOath() { return $this->jobFactory->createFromCommand($this->commandFactory->create(CommandInterface::COMMAND_RESERVE), $this->server->transformTubeStatusTo($this->getTubeStatus(), TubeStatus::TRANSFORM_WATCHED)); }