Lines Matching defs:options
7 protected array $options = [];
20 $result[] = $this->proceessResult($this->options[$this->pickOne()]);
26 protected function setOptions(array $options) {
28 foreach ($options as $entry) {
30 $this->options[(int)$match[1]] = trim($match[2]);
33 $this->options[$key] = $match[3];
36 $this->options[] = $entry;
40 $this->count = count($this->options);
41 $this->keys = array_keys($this->options);
45 return $this->proceessResult($this->options[$this->pickOne()]);
56 $result[] = $this->proceessResult($this->options[$pick]);
68 $options = explode('|', $match[1]);
69 shuffle($options);
70 return $options[0];