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