|
|
1
1
使用 object inheritance 在PHP中,User类将扩展Elquent,Student类将扩展User,这样学生实例将继承用户属性,并能够为学生定义新的属性和函数。
|
|
|
Josjojo · Alpine.js菜单切换问题 1 年前 |