function AbstractArray::offsetGet
Returns the value at the specified offset.
@link http://php.net/manual/en/arrayaccess.offsetget.php ArrayAccess::offsetGet()
Parameters
array-key $offset The offset for which a value should be returned.:
Return value
T the value stored at the offset, or null if the offset does not exist.
File
-
vendor/
ramsey/ collection/ src/ AbstractArray.php, line 86
Class
- AbstractArray
- This class provides a basic implementation of `ArrayInterface`, to minimize the effort required to implement this interface.
Namespace
Ramsey\CollectionCode
public function offsetGet(mixed $offset) : mixed {
return $this->data[$offset];
}