示例#1
0
 /**
  * Returns the PUT response
  *
  * @param \PSX\Record\RecordInterface $record
  * @return array|\PSX\Record\RecordInterface
  */
 protected function doPut($record)
 {
     $this->schemaService->update((int) $this->getUriFragment('schema_id'), $record->name, $record->source);
     return array('success' => true, 'message' => 'Schema successful updated');
 }