Elgg\DeprecationWrapperTestObj2::offsetSet PHP Метод

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

public offsetSet ( $offset, $value )
    public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->data[] = $value;
        } else {
            $this->data[$offset] = $value;
        }
    }