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];
        }
    }