public function pickFrom(GetOpt\GetOpt $optionsFromCommandLine) { if ($option = $optionsFromCommandLine->getOption($this->name)) { return T\Interval::parse($option); } return $this->default; }
public function pickFrom(GetOpt\GetOpt $optionsFromCommandLine) { $this->limit = $this->validate($optionsFromCommandLine->getOption($this->name)); return $this; }
public function pickFrom(GetOpt\GetOpt $optionsFromCommandLine) { return new Recruiter\WaitStrategy($this->timeToWaitAtLeast, $this->validate($optionsFromCommandLine->getOption($this->name))); }
public function pickFrom(GetOpt\GetOpt $optionsFromCommandLine) { $this->bootstrapFilePath = $this->validate($optionsFromCommandLine->getOption($this->name)); return $this; }
public function pickFrom(GetOpt\GetOpt $optionsFromCommandLine) { $recruiter = new Recruiter\Recruiter($this->validate($optionsFromCommandLine->getOption($this->name))); $recruiter->createCollectionsAndIndexes(); return $recruiter; }