Skip to content

Commit

Permalink
新增keyMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
yf committed Nov 27, 2018
1 parent 4bb2cf3 commit dc88350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SplBean.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected function initialize():void
* 如果需要用到keyMap 请在子类重构并返回对应的map数据
* return ['dataKey'=>'beanKey']
*/
protected function setKeyMap():array
protected function setKeyMapping():array
{
return [];
}
Expand Down

0 comments on commit dc88350

Please sign in to comment.