Skip to content

Commit

Permalink
Removed __get & __set overwrite
Browse files Browse the repository at this point in the history
We should rely on ViewableData->__get() & ViewableData->__set() instead
  • Loading branch information
Zauberfisch authored Oct 1, 2019
1 parent a9cd1ec commit af39861
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/AbstractDataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ public function unserialize($serialized) {
}
}

public function __get($fieldName) {
return $this->getField($fieldName);
}

public function __set($fieldName, $value) {
return $this->setField($fieldName, $value);
}

// public function __call($method, $arguments) {
// if ($this->hasList($method)) {
// return $this->getList($method);
Expand Down

0 comments on commit af39861

Please sign in to comment.