public function setParameters($value) { if (!(is_array($value) || $value instanceof \ArrayAccess)) { throw new TException('value must be array or \\ArrayAccess'); } $this->_parameters->copyFrom($value); }