Chris@0: $value) { Chris@0: $this->{$key} = $value; Chris@0: } Chris@0: } Chris@0: Chris@0: /** Chris@0: * Resets the _entity and _relationship_entities properties. Chris@0: */ Chris@0: public function resetEntityData() { Chris@0: $this->_entity = NULL; Chris@0: $this->_relationship_entities = []; Chris@0: } Chris@0: Chris@0: }