Skip to content

Commit

Permalink
Body stripper return object
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Oct 15, 2022
1 parent d5d016e commit 2fdce04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/AbraFlexi/RO.php
Expand Up @@ -681,6 +681,8 @@ public function setDataValue(string $columnName, $value) {
* Strip all non-identifier data
*
* @param array $keep extra columns to be preserved
*
* @return RO Current object state
*/
public function stripBody(array $keep = []) {
$id = $this->getRecordID();
Expand All @@ -701,6 +703,7 @@ public function stripBody(array $keep = []) {
if (!empty($extIds)) {
$this->setDataValue('external-ids', $columns);
}
return $this;
}

/**
Expand Down

0 comments on commit 2fdce04

Please sign in to comment.