Closed Eseperio closed 6 years ago
https://github.com/bupy7/yii2-activerecord-history/blob/90c29e0c8747e4701674271ebefe3c3eff34c305/behaviors/History.php#L203
Why is calling $this->getPrimaryKey() and then getting owner property?
$this->getPrimaryKey()
@Eseperio Primary key may be not only id as well as some)id, myCustomId and etc.
id
some)id
myCustomId
https://github.com/bupy7/yii2-activerecord-history/blob/90c29e0c8747e4701674271ebefe3c3eff34c305/behaviors/History.php#L203
Why is calling
$this->getPrimaryKey()
and then getting owner property?