Lines Matching refs:offset
34 * @param mixed $offset
37 public function offsetExists($offset): bool argument
39 return isset($this->result[$offset]);
43 * @param mixed $offset
46 public function offsetGet($offset): ?float argument
48 return $this->result[$offset] ?? null;
52 * @param mixed $offset
56 public function offsetSet($offset, $value): void argument
58 if (null === $offset) {
61 $this->result[$offset] = $value;
66 * @param mixed $offset
68 public function offsetUnset($offset): void argument
70 unset($this->result[$offset]);
141 * @param int $offset
145 public function limit(int $offset, int $length = null): LanguageResult argument
147 return new LanguageResult(\array_slice($this->result, $offset, $length));