PhpOrient\Protocols\Binary\Data\Record::offsetSet PHP Метод

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

(PHP 5 >= 5.0.0)
Offset to set
public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed

The offset to assign the value to.

$value mixed

The value to set.

Результат void
    public function offsetSet($offset, $value)
    {
        if (!array_key_exists($offset, $this->oData)) {
            trigger_error('Offset ' . $offset . ' does not exists in oData structure. Added as a new key.', E_USER_NOTICE);
        }
        $this->oData[$offset] = $value;
    }