Skip to content

Commit

Permalink
give a chance to other models to add the property
Browse files Browse the repository at this point in the history
  • Loading branch information
mjauvin committed Jan 29, 2024
1 parent 384da27 commit 3fcbcc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Extension/ExtendableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public function addDynamicProperty($dynamicName, $value = null)
self::$extendableGuardProperties = false;

array_set($this->extensionData['dynamicProperties'], $dynamicName, $value);
$this->extendableSet($dynamicName, $value);

self::$extendableGuardProperties = true;
}
Expand Down

0 comments on commit 3fcbcc0

Please sign in to comment.