Elgg\DeprecationWrapper::offsetGet PHP Метод

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

Array access interface
См. также: ArrayAccess::offsetGet()
public offsetGet ( mixed $key ) : mixed
$key mixed Name
Результат mixed
    public function offsetGet($key)
    {
        $this->displayWarning();
        if (is_object($this->object) && !$this->object instanceof \ArrayAccess) {
            return $this->object->{$key};
        } else {
            return $this->object[$key];
        }
    }