Habari\SuperGlobal::offsetGet PHP Метод

offsetGet() публичный Метод

Return the value of an array offset. Allows the values to be filtered
public offsetGet ( mixed $index ) : mixed
$index mixed The index of the array
Результат mixed The filtered value at the array index
    public function offsetGet($index)
    {
        if (isset($this->values[$index])) {
            return $this->values[$index];
        }
        $cp = $this->get_array_copy_raw();
        if (isset($cp[$index])) {
            $this->values[$index] = $this->base_filter($cp[$index]);
            return $this->values[$index];
        }
    }