public function offsetSet($key, $value) { if ($this->_locked) { throw new RuntimeException("Schema cannot be modified."); } $this->_fields[$key] = $value; }