Lines Matching refs:offset
53 public function offsetSet($offset, $value): void argument
56 if (is_null($offset)) {
59 if (is_string($offset)) {
60 $lowerCaseOffset = strtolower($offset);
61 $this->_keyMapping[$lowerCaseOffset] = $offset;
62 $this->sourceArray[$offset] = $value;
70 public function offsetExists($offset): bool argument
72 if (is_string($offset)) $offset = strtolower($offset);
73 return isset($this->_keyMapping[$offset]);
76 public function offsetUnset($offset): void argument
79 if (is_string($offset)) $offset = strtolower($offset);
80 $originalOffset = $this->_keyMapping[$offset] ?? null;
82 unset($this->_keyMapping[$offset]);
87 public function offsetGet($offset) argument
89 if (is_string($offset)) $offset = strtolower($offset);
90 $sourceOffset = $this->_keyMapping[$offset] ?? null;