Keşfet

\XF::repository does not understand class aliases, breaking the invariant that a repository is created once

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
5,660
Tepkime puanı
287
Konum
Türkiye
Web sitesi
fivetu.xyz
If you call

PHP:

\XF::repository('XF:EmailBounce')
and then
PHP:

\XF::repository('XF\Repository\EmailBounceRepository')

This will result in two different repository objects, each with a different slot in the property $repositories in XF\Mvc\Entity\Manager.

The repository itself will have 'XF:EmailBounce' for both stored in the $identifier property on the repository.

PHP:

Kod:
Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol to view codes content!

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

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

Benzer konular

Geri
Üst Alt