Keşfet

Classes extending another class won't use extension system

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,952
Tepkime puanı
285
Konum
Türkiye
Web sitesi
fivetu.xyz
Can't think how else to word that.

Not sure if this is strictly speaking a bug but it's a general design issue I think.

Take following example:

XF\Service\User\PasswordReset holds most of the logic for resetting passwords. XF\Service\User\SecurityLockReset extends PasswordReset

If you extend XF\Service\User\PasswordReset and extend say resetLostPassword(), your extended version will not run when called via XF\Service\User\SecurityLockReset. This is...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Geri
Üst Alt