eZ\Publish\Core\FieldType\FieldSettings::offsetSet PHP Method

offsetSet() public method

This is so that only settings specified by a field type can be set.
public offsetSet ( string | integer $index, mixed $value )
$index string | integer
$value mixed
    public function offsetSet($index, $value)
    {
        if (!parent::offsetExists($index)) {
            throw new PropertyReadOnlyException($index, __CLASS__);
        }
        parent::offsetSet($index, $value);
    }